{"name":"@reach/visually-hidden","version":"0.18.0-pre.3","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/utils":"0.18.0-pre.3"},"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.3","_integrity":"sha512-t9p6hFTPt0ghS7dG2Kqe3OeH1+1sZyeaOFXDfx+W3uowq1mytrBOQFN6SWTwIvsleas9bxFECoi8o2UC4c07TA==","_resolved":"/tmp/872d2dc33160c64dfe6a02075bf3ca12/reach-visually-hidden-0.18.0-pre.3.tgz","_from":"file:reach-visually-hidden-0.18.0-pre.3.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-t9p6hFTPt0ghS7dG2Kqe3OeH1+1sZyeaOFXDfx+W3uowq1mytrBOQFN6SWTwIvsleas9bxFECoi8o2UC4c07TA==","shasum":"cc79f7ce2c5b9853cb80e5b30f4f0439ac0b70a4","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.18.0-pre.3.tgz","fileCount":10,"unpackedSize":14291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzv+4aPDRhClr//ny1cX/SDgUj5Ds7WUo3sN6VqSEe5AiEA39M403Ggr8R/aXFQ6/mczSWn3nCAPdeQxcu0h7+VYzE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjReJjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmql+A//aD7W/CVQASQ/6pRIUMNSAfZNbNWp9piyURHQptomlqrSf+Q5\r\nYAjdAkV7aQHt0dlxvZsEr3tJUGP0C6n97WuwuXluf4iiwswqnynC/sqWB5JI\r\nvKMkEVkkL2EbgEx88T91cMKKE22hUuZZtgxjAmY7D3+6B6Q/BJgftYJFWmRl\r\nhRYr+yDAMjX6U5K4byioJQDvUfUCaZE4j7I3yQC6gyiyDs1o2f8hFME324bE\r\n/HOGIzhEyqR8kRNJHC/iWnYbHuCORMFTTrF+CwdoY2dn1t3HTn9yWyJsp1AN\r\nRqFXav4fGoPdAIFaIgKyB/OdD0YC37QNa0HzXW3Q9QHkwl7XvKAgb6g9il0v\r\n5yKxq/SAgUnuZTLFV5dLOPVv3m0mVfIRP7Q+m13EfBVLlZq0Z8lZm/WF2MyI\r\n3eMAqBccHiiTfl2UgSrHseT5yEeWa181opF6Yci3p85ShsVVEyMJhdZaNeEY\r\n+JwRKBHeSO2pMG91+1mt5ijjHHMz/uIOK9brbXVRB5aN0cl5A7R9XsmuPgMo\r\n0Dd7RWwyy1PFzLAhnlvc94gnLdxkHhhOyStupjy4Mlxkrfo5F9YWDfRmpCfp\r\n+B2FaCD/m1S/P0vJJEEXj//Nd28y/OoVJ+uByxZ9nQujuoTlihyTISzoJ4Oj\r\nRfSxqIGVJK2EoRzFT5sZkD6OnXB2d4P7bqQ=\r\n=x2Ql\r\n-----END PGP SIGNATURE-----\r\n","size":5181,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.18.0-pre.3.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.3_1665524323632_0.30621814971494143"},"_hasShrinkwrap":false,"publish_time":1665524323843,"_cnpm_publish_time":1665524323843,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}