{"name":"@reach/visually-hidden","version":"0.1.2","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.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-x/ewdWFlUphyF4pEth5U2FNS29vz/OOxAKcxc+XWbX96XUTobfIvLjYfQWawcP6+Eavy7zGvobpeHj7GVegTRA==","shasum":"96605cdcbd4585c76b56fed779904423e1f87794","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.1.2.tgz","fileCount":4,"unpackedSize":1718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUN0vCRA9TVsSAnZWagAAiL8P/05rd79VbQbyms2Spa46\nYofw+uT4uNpnVow6Sxbo0dRzmik3bpcZCLGBajheI3DiZ3jgPlXNkI3ZSFue\nZPFZezPylpRbVs0hfvcQkEscY9W8mgUOo9pAR+zU0Wk3qiUKIrIL3VSCNkjC\nnrUryOJMbRwrNC+MqFhD1Lg8V4LWMQcwWVKltEE4j3Dqi0qv5aCAhyk6j/EA\nrVIvdZpV7sLAKy78hU6ARgV7EtfIksBsHOnJWS074Z8dwLp7i8GiLf7byFWa\n94AEUM+AEKCYDhAU2s1hcZWMEVW8zmio54nSefpwCOyZ0iSSClyLPv1z/kT0\n7lpbF3To2J5RvW66xMynVeKszbu+X9t415IuMW25bpnq4rge/s1D0IC4dUGk\nNf3NOW0xutBW9he/kFeYpynjjDKmspLWkw1p02JAlSK6wPOEtcXrAWTbkb0R\nUiCzEQo3kCgStWbHkWeGtvL81MYNVdY09DiyvjQYJc8R81GunfjYN7dffwnx\nJQiBhr6OM+No5MuwdblyE1mUwwooX3aRZFq8odiOygpN2RCnuRS0Tzn9a/Z2\nHr+MFEbGrm+G2UK5U/g6fV7Tk5OL9hHN+eOM69Kp23ErAN1a578rnFM0yIxT\n0sej3YiZxoQQZB89mNLeZBY61mdNMxRkl2eAXjUibqQYgPHL3tiZYoUXtlO1\nN8HW\r\n=+2Tv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAY71uaPH2uUXrpMqlOP5vPHuNwoJ165uJpsEUxUOfzAiA7SW7En1PicxG3c/QdibZBJCZhmtwuitxiVKYj3iyW8g=="}],"size":847,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.1.2.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.1.2_1548803375074_0.9285239591520826"},"_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":1548803375324,"_cnpm_publish_time":1548803375324,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}