{"name":"@reach/visually-hidden","version":"0.13.0","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"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/index.js","module":"dist/visually-hidden.esm.js","typings":"dist/index.d.ts","dependencies":{"tslib":"^2.0.0"},"gitHead":"c5234721d372e2ab2a7745475007605e78d18895","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.13.0","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (linux)","dist":{"integrity":"sha512-LF11WL9/495Q3d86xNy0VO6ylPI6SqF2xZGg9jpZSXLbFKpQ5Bf0qC7DOJfSf+/yb9WgPgB4m+a48Fz8AO6oZA==","shasum":"cace36d9bb80ffb797374fcaea989391b881038f","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.13.0.tgz","fileCount":11,"unpackedSize":24935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD22mCRA9TVsSAnZWagAAGMIP/io8jHl2gQXQSzovfYhz\nGKmXwMAoCYjDIRIhPNcZKENl09KO17k7Cr3EPv+84OCF7d8Ws10CLakTLd6s\nKK3q850gLB/XgZ7j0qmV1uS99KshpLCXcEg8Itrxxl0vZNmaZoqAjRRLkfp0\nfDPHLFTfLe9A19ouTqwvCthoWsRdCQwwbFHsnfIkn3ETHAuQk9Fxxq1Mzyh0\nTNDIcE4xLFeM2yTB/ZnDN+chd17hNRX8PHq9JumqDvA1iy1Bm1EvqSkrrNG3\nrckzhyRZQDjIm4UAI/msUEBeNXrjcrqVARBNybK+j8pw2MogH24oWaakwBN5\n7wscNgBXS2VkgqJSy/ODY6aaO1RoGJiD0ApQsfEIq4TU+0tunSQdZDOOPmTt\nCJbl8OpSRUQMRfC2tHviWrTpoQ+0DOpRmOkGvmkM/CTK4wXOCjzrhaPkEXoG\nB3vKC/fLZQbgKmllCvvkebFURvYuVIqMDQT+9nBsgocIjaq/UpVW7nlPAdOn\nEl969MGRUvWSvOwkpLo5UVcXv+rLpcXhqhCk5XNCExB460ZLV0vztfnLokQP\nFMAo6c3HLjn3gLmMQZEadL51foJPKDCCPdW6amMVbq6PzEFX13OHtSsstm7p\nPWHNLsIU8s9kWpBmtfmsjHq3Gs72waNORQ+ATTAz8qoTab31PBtAt0+mZ6h+\nnKfc\r\n=cbu7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUOhsBS1zdAwDhC5jx7VBIpUho64ucjQ1C31wPBTZmlQIhANAF8Y5yABnieq755J4CzocBt9T1C0LN5Hw7nNlSTTKS"}],"size":5303,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.13.0.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.0_1611623846284_0.3248827233277354"},"_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":1611623846464,"_cnpm_publish_time":1611623846464,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}