{"name":"@reach/visually-hidden","version":"0.13.2","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"},"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":"9e2a19717eb581722e9af99b0f8f3d976de9a55f","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.13.2","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"integrity":"sha512-sPZwNS0/duOuG0mYwE5DmgEAzW9VhgU3aIt1+mrfT/xiT9Cdncqke+kRBQgU708q/Ttm9tWsoHni03nn/SuPTQ==","shasum":"ee21de376a7e57e60dc92d95a671073796caa17e","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.13.2.tgz","fileCount":9,"unpackedSize":12297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMrP2CRA9TVsSAnZWagAAxJwP/jc+ctLUSwh3fnD2FJ3D\nSU3eD/2ZJleWvpiTE+4ouPRTO9S13mCCUiyy7joO5N/1fsUkysc8vCrfrJWk\nUI3whMqqh/qgSp9qlSHKpT6wtFJAPa+EqtC8MAx03+9/v4mMLKey9cC7Tca1\nTrO5NsAqKpRsIql4vPvYlc3ESS7wFJe0fL6u0SK8J91ZNhkhVbAGE1eOmue0\n+DSI5yTghEBbfBJDr9fgaRyBrwbkWe1WFCcQ5mlItduAPL5REZxImIBeZTQU\nmMGgiQrCERocAjivdQALxcsXpJ0+6yPAsfpKqpmQ3NB6s3zu6NB2mwql61Ug\nGBoZQPp6eGoU2pO/qr2mZZQFn1SVY+ClESMT+t1Ucfc7x0hypT/kjkdd4W7F\nXfBaYCNoWHFEAzsTVvqLBOAJklK3HBCabE6N4ZBi7ZVEeIH9dbv/t5vUgErc\nx65D331YMQa1vZiAExf8bDvorZieRxBGRxzhVvwhn+eLdepgwrg24Z5XlYNp\njp/bx2AXVqSNHFh5lrt5jJIBz/zxgrsS6Drdc+t2KNG0Ae70XuLUqT+7HucD\nBWpQjJ3Yg+G23bUHlAS6k4ykYdKKaNJLu4QoTxTgKXHj5tRhtWjnicm4OOcI\nHFfUXEHaNTK+038O0GmvZDVXMSfvakF+ktxzr6GFp0Q2xckZXj+5LHudlWep\nx+Sy\r\n=C6lM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICV+DLNJ9T6gHoKWJPPTMcoYvWbaHhC8U9yjaVNBMEEuAiEAnSyI9qbsm5zTr/pT2b9PWTqimdfxLoyAM6dzUGzhud8="}],"size":3537,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.13.2.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.13.2_1613935605865_0.7318567455353089"},"_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":1613935605986,"_cnpm_publish_time":1613935605986,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}