{"name":"@reach/visually-hidden","version":"0.10.0","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"scripts":{"build":"ts-node ../../scripts/build"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/visually-hidden.esm.js","typings":"dist/index.d.ts","dependencies":{"tslib":"^1.10.0"},"gitHead":"e95268bdcebc7f0b5311beff4b6a8e29636decfe","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.10.0","_nodeVersion":"13.12.0","_npmVersion":"lerna/3.20.2/node@v13.12.0+x64 (linux)","dist":{"integrity":"sha512-hhaIpcTNqYKomhVaUNb/CY7fgdC8P8aatfzU1nh2wQfeEOvoEtf8ReQzAvs8/CoknRdJVuo85qGXjkApsKzHow==","shasum":"a2d697cfe67a8d25da882889e1d102163e5a2e76","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.10.0.tgz","fileCount":11,"unpackedSize":13706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiTJRCRA9TVsSAnZWagAAljwQAJCRXmmMAYXvO7jVF//n\nGn29NL5fZ6IfVnR/BTJ3Pp4aHLSBtS0eDSoo3uNeklryH4nxGz/mXifuhjKh\nYfDS9gMnsNnss993wUlZ77x+74KppXpnPhvdqkOfKYx0iUoFmN/iH7yY4AMi\nKTXDGWFUvniQbGGdEl7jnPozCXS1tJA82QBjaAb5eYtFsYn40SBWvI+5323I\nUXA1EzZYmZ+tQlbaClJKt14RBzY1zsOWOB80UZRPy4GBPDF6Bdu+WDXNkJrg\nYw9EnHHxV1nJ3ttIZbDnC7H/t1xL1AbR4Z7ccgdx88xHB9wUFZJg/BqEuYXu\nsmY/1wTlDrQqUE7VOx2vaKNeEcJwi6cTMhFsi4A0GsAzjry5OQV2ErRGBnaT\nDjZR1HD0H4Vyo7oDIIn6+Or8OyIYYMjCgzM3UdvdkbTbqnzPLpkt+nqqDqfa\ndIxYN4Fe+97FQgBy4T4Cs86GaELRsKPGWBWMs0LSNsTa6R0207JQhoui8CiZ\nkcr2xgXPdurDKUntoW71Qtjs2/tkwyMjyWW1McrqcjYivUdWN/PUp6VXoYgL\nGGKjZoL8K6RhSg0OKS3DDij8bQVFPvA1bsmoxtV5tXUKIB/A9HH5RxJI5D6Y\nCK9+aEf3wrQ4DVYqgPI/xvS3oiDHdxWK4RMnHYYe31bsrTOosMO8z3/dMcuE\naqJ3\r\n=gleC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwp3GQArzg3t0B+MKk6oIq3uibBLgrGDa+I8VHFsvB/AiEApVH7Fj0TD43Gjz4d/7Joh/ouwAvcX4X4mK4519a3wOI="}],"size":3590,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.10.0.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"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.10.0_1586049617086_0.6541230792778188"},"_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":1586049617280,"_cnpm_publish_time":1586049617280,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}