{"name":"@reach/visually-hidden","version":"0.10.2","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"scripts":{"build":"ts-node ../../scripts/build"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/visually-hidden.esm.js","typings":"dist/index.d.ts","dependencies":{"tslib":"^1.11.2"},"gitHead":"9e4b9adab7fd3085b1fb4b54882a2231308b7416","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.10.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.20.2/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-RWC2CZsEB6sUOMnBCiuemyesMVNOOKJP53j4RgbdaJ2zGFL6N+bh/E5bfZnAiVhjJ0G0laViE9s7iROaRWNFew==","shasum":"cbe391c78be2139be9583bae5666ab58eb82f682","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.10.2.tgz","fileCount":11,"unpackedSize":13686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuYgFCRA9TVsSAnZWagAAB3cP/1s+5+7gW5Qdhu/qWYR2\nnTHnqWTlGXBEk88MrrJhvFD8Rr46vu+thCX/BB9eJCaUM9DxVMw2qMzim58Z\naMF7Mz+exG8xtg4KeD3MevijLoqjDtZdKREQpFW+4nBunwueiiUlfnI6s8cJ\nqT3kBYy47HXZJsMRGXsM/V7Ig61wzYvreGie6jS2XSBpyGU5Nrs6KSwopI8J\nGaiqwBC3q6EndcudA7HkVN3YMWvbSH9pk+IZkaLPg9ug/ETUT3GKCXUfcgOT\n8UOzifTj847/ohSZUcx+CWG7Q4Dw10T8Y+OvhZuwmzSd0XPPSUK0N2v79HbY\nnLaJiPFSwcmA4ODSCnHvXF+djszXUTwiAqV+7QNELRE6l7AWLhImUl7GpWZ4\nhQQSPZe4h4fQX56y0u0xL2+lKwvONH88Nu+75l/6ALIOrxq9cOtQiT9kW03G\na7vnOaCUoNee9Ibsvq7xiWfYPG0hDnqNPf3pEMWgor1xcC529Dtz+loWBUMe\n6c0DB5debyD1e7XtEqX9zNUwKl6Sdi0Cofy5hcoaA6DFPKvZj2E+gAljWQ55\nqESLQyoaDLygSDB5Wkjr6mRDLCg6D2UlUZR+KSZBpDF3O9leNMzEcc0bM6uE\nGPkQdKoviGwnclYjYmxgXsVzjhc1X0Tycwte2Ku/XV8/vofzJQsRFeRB/HRj\nEHoA\r\n=R3oY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC86Snk/2/cNGVhUf6ova4bydbASryNZY1rDbeDA9bzkQIgYFoW6YG4ZpGqhRko/pRr8buoMZHcmWYXARhw17m33TU="}],"size":3597,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.10.2.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.10.2_1589217285479_0.5373036226066124"},"_hasShrinkwrap":false,"readme":"# @reach/visually-hidden\n\n[![Stable release](https://img.shields.io/npm/v/@reach/visually-hidden.svg)](https://npm.im/@reach/visually-hidden) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n[Docs](https://reach.tech/visually-hidden) | [Source](https://github.com/reach/reach-ui/tree/main/packages/visually-hidden) | [Origin](https://snook.ca/archives/html_and_css/hiding-content-for-accessibility) | [Further reading](https://a11yproject.com/posts/how-to-hide-content/)\n\nProvides text for screen readers that is visually hidden. It is the logical opposite of the `aria-hidden` attribute.\n\nIn the following example, screen readers will announce \"Save\" and will ignore the icon; the browser displays the icon and ignores the text.\n\n```jsx\nimport { VisuallyHidden } from \"@reach/visually-hidden\";\n\nfunction Example() {\n\treturn (\n\t\t<button>\n\t\t\t<VisuallyHidden>Save</VisuallyHidden>\n\t\t\t<span aria-hidden>💾</span>\n\t\t</button>\n\t);\n}\n```\n","publish_time":1589217285608,"_cnpm_publish_time":1589217285608,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}