{"name":"@reach/visually-hidden","version":"0.11.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 --transpile-only ../../scripts/build-package $npm_package_name"},"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":"^2.0.0"},"gitHead":"7eaa66982cd17fb012c13c97e6a1770f75b6ce00","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.11.0","_nodeVersion":"14.8.0","_npmVersion":"lerna/3.22.1/node@v14.8.0+x64 (linux)","dist":{"integrity":"sha512-O67fK7jz01TYu/V57RiDsxKY29ReHdQkpq+OV0ijmXsv7g5r3Nys51Ry+IqPrJst4Ve5xxFbiJsTt/bGwxorrQ==","shasum":"a7cd68ea2a197238dfcffbef8723db9117d31ebb","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.11.0.tgz","fileCount":11,"unpackedSize":13671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQAq6CRA9TVsSAnZWagAAhRMP/1bKQjtUVZHwHXEtJTX8\n/JuqXJcbMavEbHUv6LuTNnqmidmgdlMSpPB2QYb+iGDJ6PA1c+xyWebbIgzQ\n3fHc29laeXJhdtEbMp0Li8K2Fshsaaj1fJtfwo340Uh79FgCvEJpomlyZHM8\njAsZIuGWmB4VDDVmt8A4NAZ/gAK4L5ZYAe1IcKJ75PvSzlhXKmAn+mS0AZNq\nAYT8ZjZNsmTisQksFG3UnA5/OYiZghSnLlIHd90SaPgMiH2d1K0ka7GQaubD\nRbApUaesOxupo2SbXXJixPHe3/3Ko4GreInzOyf2Rg70mgkocbbIum1WLiq7\nGh+/FqFA8OPWzZgAxoUQ+TP9ysf0mSFTrZlxhMKq1O3WK896QKAOTxZPA5l9\nDddrtOFjREglmgMOnh3xqk6YzF2shVh/AuLs6WwX6sEd9Jo4pPbEFUt3MiG9\n+DfNtUbsgW9GD8pi7Qi3lTw0pIQ1PFLLEldByfchOzY71HDBLUDr7eDrAGVw\noeJbVFok8EV64rm9TAFX/T7Hhf9CFxMSRYsOSmMz66sJ7+zbQ3in35uOupi6\nPjmnRpmDMXXBxEdG30O76MP+ASa/egBo4BfXiEE8PVMmKPeTHdY7H3awKDpr\naETwEkESBqG8HTA8NPg2XyPAO4c7wobkQdNbmnWMlwuhTNkAr1G4SSssWVI/\ntBID\r\n=Ycfb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRFFbYhrxs+N/0msGKTfs2mpEib0SyiJhFydUryB7fLAiAEKiMmGNAFZBHGajOtaVDIV9Mq+NwDECGDJ1VycRNc7g=="}],"size":3640,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.11.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.11.0_1598032569839_0.4551473683435432"},"_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":1598032569963,"_cnpm_publish_time":1598032569963,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}