{"name":"@reach/visually-hidden","version":"0.9.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":"0c789bb48554bf13c62dd09210ebdf2f9af33d30","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.9.0","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (linux)","dist":{"integrity":"sha512-aiPss8hQMOz/NV3L9yl3r2brLMpYV76yB2HhqbhB0EstbNMb6a2eDUBo+mOVFhOdKDxlNJmqHdwz/aiBh8GP6Q==","shasum":"1099d9be28f41cb9829c4ba4887c233e75035e4a","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.9.0.tgz","fileCount":11,"unpackedSize":13705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebCcZCRA9TVsSAnZWagAAd/UP/3W0Lxw1uS1ccKUaPs1R\nNv4NPiLG+SisS8ab7X5ebShVbeMmGRuC2sCX6FiaeJIKgPfDZ5wFdky5A6Az\n6YL2FZfW4r1WC0KWHWMQtN4lllPI7kQGahW4AEqoNUEZgRTkS8BDqneSdA0w\n2LMr1IXmSAUgSxpRzJhj5a5haEzna0j6et+V4JbrPnyDxi3KhICuHXBnwmhU\np+W7GbnNW45g1wUx7MjeFNXQE0SYeA6cNVOF3kgUtX1v62ZNdw+796n9xn4j\npNYYtBNs4Vdi6mOBLZruP4NolBl1yBBImEkWgecM6T3AB0nZ1veRnWA0MSHJ\nXN1fMdcx0jrEsx2q1GtZXUujT7Mbifp2enx6QkIu71Ylab/kV8XGaW8MpBU0\n2fuql2kGni9OFHQWiuzShSXRBl8n8hufoC/RMWR/Lx2QXgJFUWyND2i9IOgw\nF914hNGoeeAgMODEXYffaB1WZgL3lBRHAeOgtimS15xuXf0kbYCw7+N1s6Mu\nZOc7phllfg/IhvBM+rM8mmRrEt6wa+p0qsncc80qbzjus9hMa7lF81Wo/zph\nrc7tRXPmEwSWmiu6wa1r64eZfbnTtHUhl9z5pjU0BovmgbAGf00emrTyrIjt\n6dXaISAi7wELWLORy2CWamZBMutYumXGhNmGZg//96gO7YsoavM8ZhE6Kjdc\nPUhU\r\n=UYSo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXkiOQhJfuQqWHA4O8dhifHTadNPRBX2H0Zdc9Ebv42wIgCclrOLHXQHR8DXzCyiJbN63YzG720SUAdZqz9cug+eY="}],"size":3593,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.9.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.9.0_1584146201490_0.3072361833577191"},"_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":1584146201677,"_cnpm_publish_time":1584146201677,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}