{"name":"@reach/visually-hidden","version":"0.16.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.3.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":"e4c6093db14e3cc24c26794a002dbd8c866c0387","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.16.0","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (darwin)","dist":{"integrity":"sha512-IIayZ3jzJtI5KfcfRVtOMFkw2ef/1dMT8D9BUuFcU2ORZAWLNvnzj1oXNoIfABKl5wtsLjY6SGmkYQ+tMPN8TA==","shasum":"2a5e834af9e93c554065ff8cbb0907fbeb26ad02","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.16.0.tgz","fileCount":9,"unpackedSize":10931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB4WFCRA9TVsSAnZWagAAc6MP/R1SI1qy2ATTC/lCLniH\n7ooC8erFadxh92GTSMlxvwkWvGbxBEQ9njgc7FLwO7pdezUy2r35e5NvBmxe\nIhbpiS0GVULHuIoqsuRJYY3CtsHZYFjEqRmQK5w5+XvlAbNWRYPK/mkxt/UN\nZY4AiC2GXp0XMmVIl/FgQm+EEd6kQCjeMwWIBZ49LYyiy0kXb3nnI+qT33IZ\njK/eIyP43tCKNXaiCvmqBg+elEqWH/qUGs6zKMiKWTDul8qF/9uRx2fn2Kdn\nkVcPMFltynYrQRZ8d+XuRoXghXwYBEvKRgCD0JuCtQ5GBZnTv3EtmHbuyyzw\nJfOJywnzRTQQKyj7IcLKS17k0IZD6OaAxgv+zPrX+PTLk0i6UjprczE/q88U\naZd+aYjLE2vQL0faAczVusKJxrABJX2obMG+SfXpOWEfscJNV2+FXtn/tkQO\nOKPiL9Y5N9+DkuXVADRO9YsCxdExoBJ8DIzc5PmtNyuLOoKtUi61/V0kXT96\neBX6RIkDBAlvoxnxYxrG1nSIwlBjHUj+dcQqEcO6a5KUvNTSS+hl4ZWh+Qks\ngq2oKbPwiI8Z5+3zyi2PYj17UCWV6RVSp1s1VYvEI0weIIVOb3oALb70QzI1\nI4/+oQ6XLPGA2DFzVmNZ13ACzIaTxcu1uuQ+vgK/1Yrofl6gmrKXEfHOzCDo\nslYN\r\n=hH5I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHU6GZZwfH/zmyTte4wf3FMiy6SPDxdRTywIl/Bt4ArAAiBABcKJIWNjCRZogvNF/nFXgrPu9uG2mpRbntWsIuAfCw=="}],"size":3190,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.16.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"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.16.0_1627882884905_0.2374524881455793"},"_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":1627882885095,"_cnpm_publish_time":1627882885095,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}