{"name":"@reach/visually-hidden","version":"0.5.0","description":"Render text that is announced to screen readers but visually hidden.","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","gitHead":"7e33672d882cd6df77ac8cdb76b6b4a21dbf28c2","_id":"@reach/visually-hidden@0.5.0","_nodeVersion":"13.0.1","_npmVersion":"lerna/3.18.3/node@v13.0.1+x64 (linux)","dist":{"integrity":"sha512-jL/QuqIcKBXKdtY8l/l+rRZrnrxFTqH6YoIVfBp+OXOned5TwuFdmpPdt7WRw+9c/adeLqIDqvFTWQMVKS/5Bw==","shasum":"f09cf164762b53a6c297f48dfdd67f576d9147f8","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.5.0.tgz","fileCount":6,"unpackedSize":4292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduxXoCRA9TVsSAnZWagAA6LQP/RHnfPGe3UgGh6aQu7XX\nIfPgYrkkS2a4a4+pAe3uO1e++WLBO+KHcuLD8AsIaSpUDTr55K8nvkMAuomn\nET77WKO8ishN5kr8F+SQa13uxGmgvN92/1vI+95nOoFr8Y0yIu941dNY3CHo\nvdnS+D7RjOoUDJaThlrx5m4zUTjApGrZSx0Uz/ZwTqJKrPq38XiNsUDn90cF\nH+VJlv7K4Mc80OQWg21Waa8IwcbVAYcqgQNEeEGcwVS9m/hm46nFfxwZclva\nj1sIdS9dF3iFBdr9l1XR3ztwaVzpycIE/T8hCBuZpziXREQ2u8Y3sczvxJ6c\ngYzHQD1SV/xepqsTTSNxQN7XET8s9/EuiPDaxTycQNV2zHQiNjS8oCt/HZSJ\njd2kBVyzjHO69LVES+ElGMlnnvEDqolGL7lB83zfTM0wDd1CZzfNIJwYw7CT\ncTlPcVx2uPstjrtoOZE9VjcHigu5J9O49Nq4vMDnqcbtwPtSpdFn65rB8JrN\nPRCQbSKdyrfOE4fu7uAPC0uBcfYDKsvACvUoAXqrUZPQr6kmI41WvXs0Se2I\nvD+N1OcENamxCw+BR/rMbwVwW2g1aStPLpwksB8sf0+E0ewEaep89KMDxDkv\nHtdUApM1sKQrsSXAktY0ReNeS2nSPOAPPRWrcJDT9tS64IOKfRfFcm1NojH/\n/E3Z\r\n=BDpe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD32AkAqRWSkC0sCK89j0f/ZsTGwEBWO7xtw8yS0cQDyQIgEJl/vgZPdCefCbuj1OvCqW4FSC99xoJoPmO2XfPVDL8="}],"size":1981,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.5.0.tgz"},"maintainers":[{"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.5.0_1572541928264_0.6900297462528433"},"_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":1572541928357,"_cnpm_publish_time":1572541928357,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}