{"name":"@reach/visually-hidden","version":"0.14.0","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"dependencies":{"prop-types":"^15.7.2","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-visually-hidden.cjs.js","module":"dist/reach-visually-hidden.esm.js","types":"dist/reach-visually-hidden.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"80f6ca5f8d25a10887e2bd34d60094402b9bc0a7","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.14.0","_nodeVersion":"15.12.0","_npmVersion":"lerna/3.22.1/node@v15.12.0+x64 (linux)","dist":{"integrity":"sha512-vyZNj8p1piBY6FR280dHRQxjZGyFVRXYQY7yxvEIe251EZib6C0jc66YlcA/+om4gEhVcJ17/O/bHnKV7GRIig==","shasum":"04df6dff0da1180ab85b8548c9a2113a7f01ebd0","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.14.0.tgz","fileCount":9,"unpackedSize":12321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYO6qCRA9TVsSAnZWagAAKMoP/Rgr+zwk6U1Ab1WLD2hw\nlsLLgBq5rd2kH5mQqaiZB/0U2jV8c5jU00rVTLR9zPlRkVMx4c5Kj3YdvBRD\na3IIU2BehcvkmK4VOkBD5PcjdaEEtcm6Ky1NJbRof/yMI4z8abiiVDsNoFMM\nzJQhV8/3P0H1ZkVw4JdRVgkPCIiOkVOzs2g+Pp1lwxfM+59jPBOhWaYwCKed\nFmxaIuZNC4lTF3W388V11/tbhq/r6CR0L6oZUnOLiiryFWmAnt5ZUrmGOKBf\nRLGPaWJdfouiZ5yhL8AM6NJuHqly/LUuM5LC8XXwOnmHz3wrW9ubqlL+NzeR\nIz41yi2iONWKhTI6qu9gflNC1nGi+nKh75rMJj0NXxEq+EtBS+K4yims6NpI\nRLe10HVdmmJBfChk/mak03HmqRtE5Iau5heGxuruT+Vg3PjvmlyOIyJyQBQd\ngobNFSv7qf4nY3qw3bl49LfqV106JChe2S/Xgpw9w0qzAvRBS0rxRWDNp0c5\n035INC8jmshXuTulHEkqDIQZwfIhSL/smlnJnh4AYBFpzFpzdzmgISJ9WDD0\nRiE8CljkfLScwF+KyqbR1h1h8FkX63szdzGYH7rMRLWET0/HYue4ld6heazk\n0jPTlUzSwlpmCUAvq+ThKOgbLddB9skKOv+wXqKfWsgIuJybvlZs0G4bBHzS\niWIS\r\n=7B5M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS4CSW/F08+3uHb00BTC3/0aK3BKqs/VJMPMdBCr324QIgNg5bFUVe82edwXXOMiBgR5059gaLpcf3Xaa1QfvhNA0="}],"size":3553,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.14.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.14.0_1616965289872_0.9948949233186375"},"_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":1616965290011,"_cnpm_publish_time":1616965290011,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}