{"name":"@reach/visually-hidden","version":"0.4.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":"0f3d2c7e530cd80e1d1bd338182ac89a3ba23999","_id":"@reach/visually-hidden@0.4.0","_nodeVersion":"13.0.1","_npmVersion":"lerna/3.17.0/node@v13.0.1+x64 (linux)","dist":{"integrity":"sha512-ZELZybjsyx327t0sevPMZluRuPUyRWhTif+SVf2LtjGC6ykfdRngi9jnJcvpW84tV5nB6EZCbfQoEemRAlRmKQ==","shasum":"6ae151ad48fcc0f08cf07ab5b7e7120c9371ac0c","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.4.0.tgz","fileCount":6,"unpackedSize":3711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsKokCRA9TVsSAnZWagAAGmgP/Rd+gqpH9ETDvA68TOp7\nsq3tc9CgLCnfGZ+q4nNsMTSviVXJWPX9gSkdZCM1fxFBzEBAyjObDt0OfFTw\nzkLOizkaho/RE6eMHWlIVPvSKxM8leq2Rkv6/+3i0fGVpQgoVAmEm6ckxPL6\n0bAXw10QlkN/289kUyELPwmhQCEx83/O+4Vox+IcOF3skD8ezVvPHcehxhq7\nD3nXS/03jRVNajozmnWWC8LOXHk1K5mneqQjrcCqApnVgpbJGzFaA5GyohCz\nMN4hz1rdzgCQtYSynzaJzx/C1rEToTaHRhUEVz/x7ayIqxwCLiMDQ1JxtXa5\nBx1YD0F8smCZh2v7d4i6t7rIZ5kBgNDcLHTSo7sjgUIHkk5632N14u/hTiWz\nC6ZVf26egMMsb5JQXGFkSljnqthf2LQjC9ije+5LzT0DSGVyVE5B6lNxLMwX\n1Ss60JkqDci/MFRoL1aZGyDuH2EtNcMOz7tCNOoZK0zhyIpsE6+Q/bKD8ClJ\n+5eXnefxV/xyH/Ma4OuMt2qi6b86YKzPtsBKfNdDlX67PCqTBxMeXHXFGkyl\n7EHgxY53rznBxFCJwa0x26Nrt3D+pTrIxrMpWJJ5PDfJe2P/5wa0eshkUj9g\nVpb6cN8OSN5AsuvpPY7U1FAqJ3yoM2HOQH7TPWcE1G1nw6iUYHJ9oxIjQAhm\nwReC\r\n=lhun\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEUuavluOe0f9WVwDoFV9SuwwyY3aW1W3L8Yzz5vqzpAiAp0S2bC8jYCm4/Lvjmzlhy9xgonNV+ZLXAF0nw29dt4w=="}],"size":1783,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.4.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.4.0_1571858979688_0.07586901805601909"},"_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":1571858979892,"_cnpm_publish_time":1571858979892,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}