{"name":"@reach/visually-hidden","version":"0.13.1","description":"Render text that is announced to screen readers but visually hidden.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/visually-hidden"},"dependencies":{"prop-types":"^15.7.2","tslib":"^2.0.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"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":"24995121ef36d6d1768bb3bdef6e3353d905a167","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.13.1","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"integrity":"sha512-54NoTs+X8pb4EqzehMCk6PBTus5HJS/mAIT3fdw+qXbA/ndOtXxNPMgboVA9rVU/9stZ1AWeJXgz8gJDy/EGVQ==","shasum":"ad3f509d007c8a0c0a0750ff9dfcfb1db5c214c9","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.13.1.tgz","fileCount":9,"unpackedSize":12297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMq59CRA9TVsSAnZWagAA1CAQAJpWSodHg46yVJ8D/MLn\n/56hSWQEIasUOadmWBJZZKJqho8SjGSsFxnGq97Iv8QWBC25AKewBQmRVeXc\nOQjIL5TaHuROWsfcvpvI4SrSe0zBlRe4kZeOyZRRQpc+CII9gI6VzltWNstS\nGKz0+rfo3MXn+z1XfF492hsZGvLQosZBoOW8ETDmmo/P0Pc+i5pxa95THXTH\nyhPxKFaRmFWEl+uNGnWTyosv+K9+9ArLv6kKOjLASGEX+Jd5vwZPW9WO9C1j\n0exHyYJd9odvchFWhC5bWuWziua+/RRZd2RYyrOUpE8mhVrqvNBUs6oE05me\nNX5xhEKPzCwfxfuT4vg3dZti4e0S67XuNlvF0MToP3kwNoqUAufl122gstqD\n0b2saDxE2qMtppKt2lk1ZzHcrLNZ25wT9pTkNg+1tunXTMaGe2YtDbJ1bMnC\nRAijKIVOMzjnYlWu1P0OPlwYS/Fe/L8L4R6j9chtufXCu1XDSqAoxZEDcDBm\nmJU6K8hiy8V5b0C9h+3dQ9rkcJ+NgXfW3TZ466BFnQ+t9MgT4zwWu5ozmwlQ\nHnxEUYqqxy6hIHHIlpAtilXkJkbVEHdlgqUqEkMq0I1Jqk8Mzh67hyPMmd94\nbGXg4zbXLJ/XDE7CEmcMuwOjlxRUUE5woXurOVMtuUebfU6yuFEYDWoKPvBe\neKNc\r\n=wEPi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSGq2Y/YGMWAAaiP94FGg1t5TTTZW7tnObNukcUiUbAAIhAMo2Ieagx1jvBdHmvcK7WbKBd4SPkcBe4QurCWXQTQ6I"}],"size":3538,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.13.1.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.13.1_1613934205004_0.26833411198427126"},"_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":1613934205241,"_cnpm_publish_time":1613934205241,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}