{"name":"@reach/visually-hidden","version":"0.17.0","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"dependencies":{"prop-types":"^15.7.2","tslib":"^2.3.0"},"devDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"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":"d206aefac2bede58c06a54b18d48eee7537096e0","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.17.0","_nodeVersion":"14.19.1","_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","dist":{"integrity":"sha512-T6xF3Nv8vVnjVkGU6cm0+kWtvliLqPAo8PcZ+WxkKacZsaHTjaZb4v1PaCcyQHmuTNT/vtTVNOJLG0SjQOIb7g==","shasum":"033adba10b5ec419649da8d6bd8e46db06d4c3a1","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.17.0.tgz","fileCount":9,"unpackedSize":10931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmmxXPg47GZSacZm41CcH2y/1bc7Q1nUPmqqEzVRlp2gIhAPOAhVHXGxBS41S0mbecNF35PLzAE90cR2pFtTIRePR9"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiX5wqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqlRAAlyiGT+hc0Irv66RU2TX9zHDKLR9myQXVQohr9suMQXgOeACx\r\n7IJvjKdbKVxiljnFzIRMtcl+fXfTvJFhPRCg2e49KZG23HlKqz9agKMNCtVK\r\nQ8Tw80eKMZVJK/81dP+FLDDul/X2FCviljRQF1E//LbnJfWMME0MdsEawa7E\r\nfasTE8ZOFgPyOvVDu53FEssX3cj0chTeA/xyPKlxc0H2fs/mxXRdLecpFwAH\r\nR/mhOE6KvMqz4rWwZyvVu0kScTxqu95LsjH6IKprLSTIQ/FtTU7VXg+nQbTh\r\nlVB956nOHwwrILFBMdKrLAlwfFvdryvfLSXbzyBJLjSWL11jYV++RNS7Ewvf\r\nxRTon2t4gzNawxR0AUcGxVCrXjFhi/c2GPbbvag94N1fFATHgzVlADYQgElE\r\nd1HINScJ4zAfqHgQWyL7fbrKQsT4eJZ2T9xInM7tlSiiXpLwvHvzUnv6QZVs\r\n2r/szitwsBtQHvF0EiE3WM9OOhFwhNQKVAm8BE5VE9Qbl3I5RvKvoUg15zw2\r\nO2ZTDJxZ9Jcm4Ii4i9cQSUfHejkTS5YhUZjLpREfVgje7JNGsEZf2+8+kv6j\r\nGQ5Z4e+Ikba+UOnNhfx9auPmgJVoPu4fCC0ZDVDajXd1nouGDr58l1xHTmyk\r\nD5srInVEZrMzcee6Tbb3bT+JFJmweEB/5+E=\r\n=VyoI\r\n-----END PGP SIGNATURE-----\r\n","size":3186,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.17.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"hi@chance.dev"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.17.0_1650433066430_0.16475460923814178"},"_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":1650433066586,"_cnpm_publish_time":1650433066586,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}