{"name":"@reach/visually-hidden","version":"0.18.0-pre.5","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":{"@reach/polymorphic":"0.18.0-pre.5"},"devDependencies":{"@reach-internal/dev":"0.0.0","@reach-internal/test":"0.0.0","@reach-internal/tsconfig":"0.0.0","react":"^17.0.2","react-dom":"^17.0.2","tsup":"^6.1.3"},"peerDependencies":{"react":"^16.8.0 || 17.x || 18.x","react-dom":"^16.8.0 || 17.x || 18.x"},"main":"./dist/reach-visually-hidden.cjs.js","types":"./dist/reach-visually-hidden.d.ts","publishConfig":{"access":"public"},"module":"./dist/reach-visually-hidden.mjs","scripts":{"build":"tsup"},"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","readmeFilename":"README.md","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.18.0-pre.5","_integrity":"sha512-XIXs04DFGuDW8WfRUpDLPCFDGtGfa8lrMxcYXmA9UJlT0MT6nZ1rluSGOxH0ylW+vUcCohsxk0u/zimbJtTj/g==","_resolved":"/tmp/dfb5fa954eb25c49b5b72bf3b3a808c8/reach-visually-hidden-0.18.0-pre.5.tgz","_from":"file:reach-visually-hidden-0.18.0-pre.5.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-XIXs04DFGuDW8WfRUpDLPCFDGtGfa8lrMxcYXmA9UJlT0MT6nZ1rluSGOxH0ylW+vUcCohsxk0u/zimbJtTj/g==","shasum":"3715b24d45c9baf3d1caf38f0c7c8a6ab302a7a1","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.18.0-pre.5.tgz","fileCount":10,"unpackedSize":14509,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUzn4Cg08UO0nJX+YU/nWyPwguwTqyLNRZ5+L7ixciSgIhAIJ1j1SBU+y2dfYczlpDmxfSN8E55rrQ7a/SvkVOtH8h"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR0t6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkqA//fTyuMaZ/Zu68mUdLDzMtgOHbH9ze0dWz9FcauEu68RK7NVKN\r\n9G44B6LVXnfVIgD6R0cboGnCxHhtz40dYukJ2MlvzeHxAUqxxfEy4rYwKrYA\r\nSWc23pbdUW/wSeiMlqjRR9goeDBsjUMIGJvG5VmgpzoWULaRlrwzYdiUJPaI\r\nBPPBYR+gEeK6SzNJ2xpux4c4SkupcREI9Md3thVDKpRPPSi4UKTyW6747Ltl\r\noqmGpCIdDs0rbfd0gAbpxd7ISnflGgsmNnosIh4lwn9u0tmadKizD7AvkOuq\r\ntdZJuRb6OL/gtGCJIgajDS7J7w5vFyZQrAnd9naIu/d/TXad0BF51Owi8p9Y\r\nOJ1YXBYkmv4z2Mznou1xmiLUzLnx1dULpWb09UextGXMHD7l7SK4uLezwlRO\r\n7TfQD6l/Ypr3clPI2jLBBuQAZ6YeLNHYKlUdz0HMUF0dE4zISx+s6W30cm8S\r\npufvTjdYfwog7T7YnL3zARXZkzIOcC3QcaVV6KFkUqI+msqVG2LwXH2td3N7\r\n7niHbun63ze636CDhSUbr+hfW/syJq2vfRM6U3n2pszcVgnaIehM/f9kvjqq\r\nPv9ZS4wbXrPrBKMSKRAyBFGHF4teYmhU1RGEl02NgBrD2Jo1dgMFw7xuMbao\r\nZpJvsFXZgLbk+Im9918MWg4ui+4PykQkt8o=\r\n=WoCm\r\n-----END PGP SIGNATURE-----\r\n","size":5204,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.18.0-pre.5.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.18.0-pre.5_1665616762066_0.05372584628817223"},"_hasShrinkwrap":false,"publish_time":1665616762247,"_cnpm_publish_time":1665616762247,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}