{"name":"@reach/visually-hidden","version":"0.6.2","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":"00e73c5da6d25f50194612f74de71156fde2a80a","_id":"@reach/visually-hidden@0.6.2","_nodeVersion":"13.2.0","_npmVersion":"lerna/3.18.4/node@v13.2.0+x64 (linux)","dist":{"integrity":"sha512-YI2IMink8kn3vcugOKjFcQgF+GUd1p3kMWtLVxvEr1oj8iOyNASBP4j9ouYR9ZqIEO8SZhk9O+IHdXQhs0csxg==","shasum":"36744201d0464bcaedc6163b379844612341a1dc","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.6.2.tgz","fileCount":6,"unpackedSize":4786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2I8uCRA9TVsSAnZWagAAeLUP/RwjB4C6vcmmnJZCwM6m\nPomzQxGGp468ho7/FDEdwZyQiiBRlA0i7S4BMosMppTnV3vhrMga5+b51VN9\nM9bx1/NV+ai3VsY8iYBrbUU/hsfFjvhqlzyhrTdhfxB4EHZcFqyhh3LzePzy\n4ACGRFJ3DKLgtzVKoWX2/sJv8MPZe7NtHYaaISoKBp9f3API5K5B7CzqnzL2\nzqbWFdTYgB3Mi8NUfNGsoRbNvanpnliI4UtF6IhEe2VL2ztnSfe31OnH4N1H\nTYRoVKWmuXF8boGd4mBAWt3wOym1wdcGP367tSnHV9ryJ3oamRnBjbLJN8Wv\n+lLo+4a4LrThcxobI5UDaNdNRbtP0r8AkoFndMQhYS1LmU1mqmmMwpv5+ckX\nS7c2AfUNXTzqrdQzyyZTQqVCranc9XWKh22NoKTrU8W3dhXvFw9dEMOmnutZ\n+S0eeJ7lZSlOyxzO/DT1n3Ncaz2IowDmHrQyY/so25mrp/QYOM5abP0QvOF+\nEoyIgrXWe9TQZI0i+3OLN9/p+x/Raqaa+GSs8aH4orzzz65ptNaYRi+KTQZq\neyKKenwDrvnHmfdGeXDNF7Sp5KUl6CHnTC6e+rooPeqL9CGQqpmq/ey8+PXy\nBcFA1ZzAqkteUam9XEYNLYAQu7mDf1sL4+p1InQl5m5bmhKTWIqxmo+OZ509\nJkZM\r\n=915j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBER4cm8GdHjzX7eGNd/rOPdKNJ7rNqTsXCg4gnUR8HJAiEA4VSuilDIokmG19b6X1d/2MqCn8jNSDpmV2DhwAdSbKk="}],"size":2082,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.6.2.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.6.2_1574473518240_0.26033403948350675"},"_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":1574473518354,"_cnpm_publish_time":1574473518354,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}