{"name":"@reach/visually-hidden","version":"0.1.0","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"},"peerDependencies":{"react":"^16.4.0","react-dom":"^16.4.0"},"author":{"name":"Ryan Florence"},"license":"MIT","files":["es","src","lib","index.js"],"_id":"@reach/visually-hidden@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-aOHzfZ3lpk5gukqnkZPQSb+Xlrn9udPk5Hb3VZYKLgF1s7xTuDVEtpv858DFoto/1FmcPp9VIPKxg2+tHzbVfA==","shasum":"30865d2f1cbf578f9d695f2cb305414ba5fab340","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.1.0.tgz","fileCount":4,"unpackedSize":2208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhJ1zCRA9TVsSAnZWagAAYKAP/0alcs4dCYiI5Vp+IYD2\nkiB19NMXVY+vX+RW3SX2NgmksF5PFlJX4sAh4sAzoUAZ1z1t8vGQ6VSLJEzn\niYULusFDTr0JWbFCMEKYrXTRVN2aAqRF3GIBfGXdyUcImh+vsjkagL1ZDH5Y\nnLexM9bCxZVSW9DVlj6jipILsyE/x79jDMY0+ej8En5W+HU57FUMK3CgXonR\nfiedLjC6QUJ/kvqbjXCrb1zfr1lC+laAQBXYZCsvasQx6Ni4cDQpVz5Bbyvm\nJ6uQkuk84ggkg1EGhqYRfJeLH3Z12HOquSzwJe6s5RUtkOENJMoWiwTmNB11\nvA9jXQibpFGTbIycyrWpvHZzsEMFwaEvilMYBzGgc72L/czGqiL9viernwa9\nKR/t1PNR7rPNuvC1unzK7BDuLCnX4VNcpJxh+ZMCWaR+3gWYfi5MNNwVDANr\nONG4GNkemmJ9BMjBI1ItyA9qkagOQixeB61k+rUpz0IqhlWGjx8ihjCfM/by\nqb4SQDFP7q1pkhoFhdHGVNKmMof/oLJCDEEL/tvK1nYde0mQRcAKzx3Jc7bg\nPSD9qmW7viFov4C9LHecvDanyGFYzd1PaU6ktMwh9FkaptMsV7ghP26NPLGI\nYTGbTfSC95kyON4Hqw8kZ9VqAJQtjyTud7Zt12fBrPkUUISM6SOY3cCbFG/4\nc+Vw\r\n=7/J8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcWX9HwAZmpl+pB30iLDTOLgY0CehBHn6BQUGY53ASIAIhAOYltrgfogmV05aNr/wadldyBcJkvf5PzVTjutKfHYEP"}],"size":935,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.1.0.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.1.0_1535417714719_0.9088619615267415"},"_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":1535417714792,"_cnpm_publish_time":1535417714792,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}