{"name":"@reach/visually-hidden","version":"0.11.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 --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":"5c6de02db35c1bb69e28d52bf345ea5c5c484013","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.11.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"integrity":"sha512-TZZNSttor2jG6ZPGI35s/8G0FNSz49QrJIhAZbnUqHyPf3+jtNqAC0dOWW8Nuk+mApDDDVYd2KZ9P2vnzllNnQ==","shasum":"3d7a5742acf18372f35b9e216680edd8073f35e3","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.11.1.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\nwsFcBAEBCAAQBQJfTdY2CRA9TVsSAnZWagAAyosP/jJuJ34WUH/IO2d8od7U\nfqDyehsKOyh1OgUY6Wkwc9z2uIj5nbi3x5YTSC9rcMzjxPATlKGaBxwffXey\n5AcCDNEGYTYj6g7xikqljuzSCUlEqKHy6Xc+CCklMt54YjSJ9KXaoCcvxYnV\nk+cY8Ito5lCk0q6QnrR1A2QcRbk4iF7hhUOwSSuCv9IughiwBFzDOdfVRBWY\naXV3IR+FeKGPN3a68rUDi1hwumu8iZg5ceSu9yKGEPWeX0U4qz24NDW8Wqmh\nMs1NHMYqLD9mCP4neV7AMZh5sIrmPEEYXCjYWO9Qjpi2msYQL1t1m47xNtt+\nes6G/zwPR+5fA6tDhkm0357CwEjUp1x0yGpYuO2XL+ZSQRm/wz/QI5+ABfGw\nMao8sGvVYN2RHe3mF9ZNlLLFM5fjv7AOGf3CCiglNuMVqNNH+jysNNG8qpzz\n8KoFoQCtGI2qulCXjaaTopv513Cm/RjQPK3fxxCKNTL38nx7Gc2tRlBaiMmA\nmjZgtGgBiE1mg78dx6eofSHm5OD6ZctZYXSkUlUCJKMIOGIbApwHMbF76eUd\nsM2DPRGhMlYX6jLsWG/lNiR7UnlzNJGiGWR4X3zMNfF73Z+bth15e2O120LE\nnUNEw1e6+0bL1ApTC5hLQS6BHhYeo7WSG9ayERxlU8QlpqyVuqaqh1cg4ROB\nTBot\r\n=/Dv6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAgEkSmTOVF6bXb6op0F1PH+Tr8jlhAb/4OagC39z37AiEA7Y/BgPyBGguPC1CdE+NESYFcr8rNgQc5x5enxnecKWU="}],"size":3643,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.11.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.11.1_1598936630310_0.292298531299908"},"_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":1598936630525,"_cnpm_publish_time":1598936630525,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}