{"name":"@reach/visually-hidden","version":"0.15.0","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"dependencies":{"prop-types":"^15.7.2","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-visually-hidden.cjs.js","module":"dist/reach-visually-hidden.esm.js","types":"dist/reach-visually-hidden.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"1449650359c119c1afe25973aa7584e09e2c88bc","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.15.0","_nodeVersion":"15.14.0","_npmVersion":"lerna/3.22.1/node@v15.14.0+x64 (linux)","dist":{"integrity":"sha512-ZRRBOaRrvSM6iCk+R2/8txFfXLY2DsnZQuaHNqOuSvz8vN2+syUnni1T+hpC93rvBRXtqD36kqdTsu5qihGnFw==","shasum":"70ae561c33af709769df05a796ddb998c3a1ee20","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.15.0.tgz","fileCount":9,"unpackedSize":10847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbURzCRA9TVsSAnZWagAAYCMP/1Egq+aCatjCvNco0DnP\nxReBI87qZFLBvtflGPBc5/iFGHXCUSu6XWZi7lWnaUMs/LCC/bc+N7djXwpG\nS3MBisihThawW+1P/05tj0qFITXC2OZ++AAsuixgDsZrhaeIy+cwsr+zz6t6\nyVf7M/FsJ7EGGe5UfwcalAV7AhJXo1cxzsDHCXl3iYGRrKAkvQV9KpUWZQH/\nYHEkaVd496G8/gRv/LMCmMyJBj3aUlLv+xWHOqrOfykY5aFd6dbAL7XNDVZt\nEfh24eAtTiqimjvt2bXBqCimR3hI5nKsp6UWAP/zQjcB+UjoyZSAKHfQToGi\nnVSTcYP/Txn5IgGM1o2okicN0OR/rgqOzxmY8JkrwHhHg478fXCCVBXEY58F\nCpoBfzybIYUnaJ6iiyX/TnMPJtcHmzv94ru6Esx6ThenAur2+D2P6Xu3dQEN\niKbsux+Zzs+tOgMgOLApW9nN2pGlAUiNCPjrMkgB2UC+TXxh1lCU3MhEaWqq\n0uAYm8ri36RzXmUD/ac95FEwYRWOpsKpV2eVz9jlIPYFLtkiUgjzyhe7kJI4\n0lGTrWMUNmpABr1S+QiKjLXDI5rvlnXjrcl79mGREXy6MHys0A+ivW5tbKQv\n1okjlXK2R8GTHDfspyl3vBRT+tovT/O2xcruEqMFqlCiN8+N/otKfXjzH1FF\nl138\r\n=ZV+D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb9TcXi5kQJM1MICx0C2Nj1dTNFIBbvy2axY+a2yYgUAIgXpnNiVRcpjVpxLtA3LIoxOyQtPCnIV1lUT1mVH+5xOw="}],"size":3182,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.15.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.15.0_1617773683080_0.3589646684795498"},"_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":1617773683251,"_cnpm_publish_time":1617773683251,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}