{"name":"@reach/visually-hidden","version":"0.18.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":{"@reach/polymorphic":"0.18.0"},"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"},"bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.18.0","_integrity":"sha512-NsJ3oeHJtPc6UOeV6MHMuzQ5sl1ouKhW85i3C0S7VM+klxVlYScBZ2J4UVnWB50A2c+evdVpCnld2YeuyYYwBw==","_resolved":"/tmp/9ba9e34945ae83acdb9ee81051a5a660/reach-visually-hidden-0.18.0.tgz","_from":"file:reach-visually-hidden-0.18.0.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-NsJ3oeHJtPc6UOeV6MHMuzQ5sl1ouKhW85i3C0S7VM+klxVlYScBZ2J4UVnWB50A2c+evdVpCnld2YeuyYYwBw==","shasum":"17923c08acc5946624c2836b2b09d359b3aa8c27","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.18.0.tgz","fileCount":10,"unpackedSize":13706,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3Umn1md6PBmuTeTX+2NO4aCr/pjiosMWK8zSN9Fc+AAiAX7DvhUzSj8WnugukD7s/64G9J3f/xBdfw9xzQ1NS2eg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR1YgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNlw//fcWM/3GUiLselJqSzSEaWyZpZV+IFpQpJ9ohVdM/MoiTyS1B\r\nJfpTnuUd94DlH+0DKtxxtoCYOWepjBnASxjJMDJz2FZcUyS12SjA3hcS2VJ0\r\nMHZTkXrKoFVpGRgbw7s2Q2xjbQ3aQkMmgKaRdz46PhNumqjdL51wKYGeuZJ1\r\n6FsWF2Vn7JFbCBVSg4AgYEDyys1nd1usMTGl0K17vZm/cvV9+xV0xxJcLzfv\r\nK5whBxAXP0tfBwh9lYJY6QdgStJo4GAAEJi7p9M0LAfaICy7fvSpXN68wNfp\r\njbuk7wn//9nGiWwTMPcM9SJnH74em/hRo/peX00vuDS/J5xXPY6y73gib0+8\r\nNE6UDw508ecfGJZr/kXKmoso0OmkAJ/Ee7+qMCRCN5i/eY8gDmiI4CiNFhGH\r\nnk1hMGEuw4Ai8hN1V9KZ93yRh+PD9Z1V/VWMcriGr59dWrO6OjJjuKSQnn54\r\nrs4gp3yHkFXLJDJjyavVCpHvNf0ScXlBO/Rzvi7wt9iW1LFRje9kOVm2KmOZ\r\nhU4w5U8nwEetqy+IVbP3wIfv49wT01BN8w0rLSbT5GvCSdBGsw8tKStNUAdA\r\nX1Kw6sZBPJQ7hqeIlzQ3z5jghHcE3ABclVY4SkBst83DHnl/N/5RQ9YlACrv\r\nf7AEnTDr8IMB+v1CRCTDYrsvoPa9/kxGUz4=\r\n=eRnF\r\n-----END PGP SIGNATURE-----\r\n","size":5015,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.18.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.18.0_1665619488306_0.9574025295096369"},"_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":1665619488456,"_cnpm_publish_time":1665619488456,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}