{"name":"@reach/visually-hidden","version":"0.10.1","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.11.1"},"gitHead":"c279bc0fb9ae84aa77306c5f1a9909d088bc665c","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.10.1","_nodeVersion":"14.0.0","_npmVersion":"lerna/3.20.2/node@v14.0.0+x64 (linux)","dist":{"integrity":"sha512-X62KLq58f5oG6k6WZMiUj/Dwjm7pEyuApzsYF9sjaZy4fRh8ji+pzzlV8AaDFw/IQMDg6tBwr2tX0SyyMSJs9g==","shasum":"f57f059c9662ec9e66d30f5e4d88a4dcd06480a1","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.10.1.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\nwsFcBAEBCAAQBQJen+EBCRA9TVsSAnZWagAA9i0P/2Qy8FLZVlus9pfYCuC/\nG/plSfR/5R7nTcjBMlW0Z5LN+K7V0KqZIUq68VyhKqEpUhbjnctgCdEBYu+4\nNc1tUZlFwt7B/8RU2bJPrTIZMg+Odz3mqEfGQPZqfbh+TnPoBJRxn+5ZTHiD\ndRyPd3idMcL8XzNk2V2Ia+V6HwkLyIrq4U3dbprXzrPGlMu04gmn9IWf83JI\ntyDaZTbn3mpOpt+G8ES2R6G03aWXlRKPbjKDKXuz8xo9ZU+4MtAWQTumlwOe\nzutTSCreuQ3sSoCEMrCo61ZCbQW30OrFTOoW6E9lTGerQjbWFxXZ5UsJa1Nr\nBYSqoheUwp+BWwQTp0eGbwZ5c9e628lld7h5sQmdVm4rr8wF+pJyFzaZAFoE\nDGYsFyOJEk1PgXlGW9WySxBMoCFTZkHSC4iHr9lhmGucYTujt1LfuHf1LqKV\nPgurGrbSFT6+PMGrGzg4QBFXuU4gMGwO2T2bvgGpNvieqNouxUdLaTB/r2zX\nF1GCr/dxVkeB42T+/PR8gjF7mb8TWZb/4cXWYBwRaKjSrKYmg6vjBn4MC94s\nkGwy/ixx0mOqLOCnjB7kkGcNPjI0nyJZLSqImfNb11UeSmNRnldqBiqnyr1i\nhvtMN5sODmVPbthvV6NGsGWFXWYVWSDSAAOWgcZqQ3NuYUS+81WSMmFpHdT6\nicmZ\r\n=dfkc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoK1FZrWBIcXATSjDqRJKr08X97oO/lV4g49L+qzngNAiEAk1HdHGocgq7dJLsvr2LAS1TXUyK0dp0jV5hAjU795hU="}],"size":3594,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.10.1.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.1_1587536128756_0.5284847204316416"},"_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":1587536129058,"_cnpm_publish_time":1587536129058,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}