{"name":"@reach/visually-hidden","version":"0.1.3","description":"Render text that is announced to screen readers but visually hidden.","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"peerDependencies":{"react":"^16.4.0","react-dom":"^16.4.0"},"author":{"name":"Ryan Florence"},"license":"MIT","_id":"@reach/visually-hidden@0.1.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-kOmRRmUnWDsdKg6FIkljWk0Oc5v+SFCD5iVoF4moRRIJN/UvwxS2j6CqtCMlur8pc6KRi+D0mkO91nUzwQTYTg==","shasum":"96f6ac9a0b62723b2f3e7d384b6143d49b45105a","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.1.3.tgz","fileCount":4,"unpackedSize":2145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuzmiCRA9TVsSAnZWagAAUCcP/AloVV3m0ovEuuq7uURU\nx6misgnxZDILwfCEyCyqX1Q4Erv20CS1/bHh0R8en7G9x06JyuyvCrcajUcM\nW8wGrXxN5gIcUIZIBPbSh1uxc1r/QtYrQ74cBBuQT9qHqVeCOGAIwWKlmTLk\n6FaH7u4vq73bo1ja8wVqvdwBNJuLJYFLHvEGzCIJBD2q0nhUu5+0EGhsj2KI\nOmM5RnnWDeZiLopquN2COjRGXMUGUAiWj4IK0jXpKpPoWbBE73Cjuun+hNw6\nFOLZzcaahO3sdYK+efCsnHqTimp7g/GrRICn0RXvUbYV9vR+pGJZOh79l4gj\nQjAJaEpDewk994gJLp5GVkwfjF14sxRKf+UwWe1MC2fjQ5w31dB0gi7/u46w\n1MQL1Txd35MyrNHVuKUL6xYPBIIYp/0ix/FgmVusUluNm74xsXCRxO6GNTPy\nZuUA+iUKB77RkLEHnxGGHttwICmpPjl74UKvD90c7EbevZopKrVUoqBCJPEW\naygVeErxmlJXpiDUX81Vr7ocBQuxcVu+PdVjo/oStZFeUJCHgn5RlvKUb66M\nEoybFolP03uFNxFi6ErEG/sfS21Ny6yJrny6TJPO38RqujexIvvmxqLxKS+A\nRjwLwy43Jobpxoakw8S9UpVi8NkbjeqHfwX9Ep0oRiGKB0vhiDtTR7uJgcI0\nOIVK\r\n=icgX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTFLKLUcol2cQtC4/dYmKHoijXq5jL0jw+2BmqoJirbAiB2M+UqqAITte7BLB7YVxQqy0bn2t2x0U57vQE47xk1EQ=="}],"size":970,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.1.3.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.1.3_1555773857771_0.45807569348486066"},"_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":1555773857955,"_cnpm_publish_time":1555773857955,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}