{"name":"@reach/visually-hidden","version":"0.10.4","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":"^2.0.0"},"gitHead":"a0c7b3672835b2a9f84732663bb0e78992541211","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.10.4","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-GnuPuTRCf+Ih47BoKvGyB+jP8EVWLb04GfbGa5neOrjdp90qrb4zr7pMSL4ZvTsrxt9MRooJA2BhSxs5DbyqCQ==","shasum":"ab390db0adf759393af4d856f84375468b1df676","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.10.4.tgz","fileCount":11,"unpackedSize":13674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5643CRA9TVsSAnZWagAAzzYP/3Pkh3tezvbA1h4LAkPw\n61tX81wXoLY7ydSYzcgaICuVEDUtJlr2CS2MoYI7xWjmzghoJHxoGpsoO1jR\nfA5Y1YH7qNZadnL5JiAKOL2CDUBt7E7zVbgGs1ttskGAj7qrBrzmWYVdfl3b\nM/ptHimB8e585+QOdLXKxtZVnzUPWuGAciv6YXKOv5nI4mxZjJ5UDwWJmnAe\nVGlF44z/6ytbIBhOL9tiz3TkF3JrQ3vWnYMRO0H4K8ONaGWTony3dSiSZeYB\nQOprQqeH83+sCIhqqrdPN4LWzM/g1TOV5w7gMuq8CLQwYAWxt9qoAT8+r9WT\nW77MnfOX6Y2VCLn/ygsZ9tBojgmaEqGi1rlNRuJwVX+px2hIq5xJrmvETbhn\nPKBn+ocGSGMQMq1qZ5R1Lfdv/wfSU48f2VugcEpAiNEzS6pCDSdf+XPOzXAp\nXJsnZZo7hb90Fx/Pj0fLpSyI6ZHfb//+z3DUVaRCtETgJumHPr6zPhqM25wq\nEOdT9nY2Q2Uns7Z0bvoi+ThLsmgYhROpcOgPt6NVJQaNFkLcua3ULGSaZFfj\nMCixHGn/DWxFxDn3JbGvfByypIP9xqkmFDfJ7/bOKSic5ABKCsEfVsDEO0NZ\ntKVZK6QDZV81Of5/c0hOBuGAfUHQgO5zXaCC5bdagzVxVH22/POWqcix2snU\nAQBc\r\n=oJbJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3QKBg1Ql6J7krWYmoU2voWsTHwJgCiinv1lCDC0rk0AiEA54tDx3oumzome8Z++wdl4vCv8BIjUWaCaI8DWDx9n9I="}],"size":3598,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.10.4.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.4_1592241719513_0.2768135019057474"},"_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":1592241719616,"_cnpm_publish_time":1592241719616,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}