{"name":"@reach/visually-hidden","version":"0.6.1","description":"Render text that is announced to screen readers but visually hidden.","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","gitHead":"c1e249448a3672ccc65698218f0f38ef9814ab90","_id":"@reach/visually-hidden@0.6.1","_nodeVersion":"13.1.0","_npmVersion":"lerna/3.18.4/node@v13.1.0+x64 (linux)","dist":{"integrity":"sha512-Y9CXRk5mQ4dm6TRzjcF0qb08KVBYf6tr8ee0TxuAFcA5pV92T+y1SnEd2CuzY9XqsAUyxf4LgVgvkgwzzsO03A==","shasum":"6ce4e2829c282e3d046495983d2898b439f3ad96","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.6.1.tgz","fileCount":6,"unpackedSize":4292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzxdGCRA9TVsSAnZWagAAUmAP/2q0nyNoDgqgQiUyqMJG\nHNuEGyecrIigsP9awRF8fc98pKP7KUtbPxc4x66FrQ69Uu7VGnWeVJGtKEvH\nYEVzY8YkFYaJ2TtS1K1L6312lXB12kUhd0xghwo8Vm7ZsvaN7LfINy2SlFuS\n310a7BAj/rxBEd683f2bQgGOMgleW13aftKcVHTalArxxcLPczFmvSOpYG4S\nOV+aNPfAfniIgrGhXa9hxBeWjo7ULR8ybdxZIBRTKN3u97KhFmLWaaVXlxg+\nbT5rM4CoVuNvdB1yxTe5CFPmSqkKl5ZhQFPd0b9K5UQrsZ2rkPL1iV0hTi0B\neCiGgektSeSobkAxN/ZDbDWTVmavinvbKzC0d2v/NXvclX8T6kLZMpSfl+YU\n3WRmxd/CZ4wJHORJHOGBa2pFvciY+lD0P2bA33zERvHq7d/qnAhId2bpsM9b\nv5XhbWPzhKW2r8IX9JyN8Zi/QHnrXKmvGr2NvKqJX/dTm6FeY3QTKM63zMnR\nWgeKMA2dQzp5JYe3YdkIPqE2PACB17UUyj/AO1GHdXM0hMXZSd+Pd8CLwNZW\nX5v09Il156URs6s8yi210Eho303iWxyVrHeptofar5TpZdEx20NwHKc8g63E\nEnxAg9bBjsUMNZ/vF1cl4GpfQczuV9ULOl26DXXRUB99nOEjW3kx1Vs5e4Fk\nF49w\r\n=lrZd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5B/ht37mGltZn1+6n1tXmv1l5PjQ9pB95Hyiwy+h06AiBYFz5X5Xg5zJWod2rP1AEuoSzvZ+oWZ8y9fKJ/hetFUA=="}],"size":1983,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.6.1.tgz"},"maintainers":[{"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.6.1_1573852998312_0.38179126447431644"},"_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":1573852998421,"_cnpm_publish_time":1573852998421,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}