{"name":"@reach/visually-hidden","version":"0.18.0-pre.1","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.1"},"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.1","_integrity":"sha512-sXn12hSf/35x83XCfqbdAQsIJjzQ5ZSX5fem77kUglXtS1mx7e+gzXDO3kJeHBYBcIwO6Natfce5ECAzJpCqTQ==","_resolved":"/tmp/88db46c557c3b63a4f40cfbf42b3871f/reach-visually-hidden-0.18.0-pre.1.tgz","_from":"file:reach-visually-hidden-0.18.0-pre.1.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-sXn12hSf/35x83XCfqbdAQsIJjzQ5ZSX5fem77kUglXtS1mx7e+gzXDO3kJeHBYBcIwO6Natfce5ECAzJpCqTQ==","shasum":"7964b3a3f922eebf14e1f7071e37473077c0f95e","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.18.0-pre.1.tgz","fileCount":10,"unpackedSize":14105,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLVuB850lCz0gI/2sb6/GAX9iuo4qFaTYbdDnOKJ8RVQIgCpCz2trsIhbUUE4fHNOumOrmFUhoCWRvEYCp9KGIj4Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjROJIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZvw/9FUerexgjmYGRQE7uSz7xQZjw2+1CU9jnkEQkFHtS8oXLtpgZ\r\naYAJ+ntkX/3VRPDos7ZNWLnQJUhL9RaGvqSJL8Xillpv1H08iQRCbUgcrl48\r\noGr1ov49/2pX6Pwqa6vhT1v3ZEgtE5VCnzO7gXxVQB5Usj/K6IyiE3XJuAuh\r\nfVkBBHmCQTGWIc18h5DqkSE5L6DX4hUoC3JlAky3LiUMVgaVEzaCPHHtWj5z\r\nYPtJtFUBu3GUK7WC60IdYPtnQYnUL7GYF+vcSzPT+o2YRwxoX8jFrx63tvbM\r\nY1zcw3JvrYw4EeyGEZv7kNwXI8ccGXkojOb/3yCfQGqf54jQanAE0gj3915w\r\n8Jz+j4d41f+io6vgmTkPBKgMa0j++GwG5Psdz0+rXWZQrJD0GAcLLFNSvM6U\r\n2xZfvcnnwLPdnezAoai1t40F2ppdNjKVaQ4/bfofvDYpv1f792dWFm5HV93r\r\nz7vx5a6sP6MumBO0D5+ozimWMtxul9BaMqtXE3IjZVsVN8PhwU0cnZzBfSV7\r\nkG71iDsb8+XAwxeosNdP2xdOIdmVNPpHBbN5crggGx8N9/NKX61cEqXphIi+\r\ny7KfFtJPk6FwtZcH101rCXFHglleM8vGyjUrdl6J2R8it3GadGPOmMKJg+yp\r\nHQpuY+8Mj8DCeHPzHXV968uEqHkG06VjO74=\r\n=NM03\r\n-----END PGP SIGNATURE-----\r\n","size":5166,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.18.0-pre.1.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.1_1665458760094_0.13802862532180527"},"_hasShrinkwrap":false,"publish_time":1665458760262,"_cnpm_publish_time":1665458760262,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}