{"name":"@reach/visually-hidden","version":"0.15.2","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":{"prop-types":"^15.7.2","tslib":"^2.3.0"},"devDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"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":"353f409a296a648c4fe2c2d06b14a39b7b6dc3e1","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.15.2","_nodeVersion":"16.4.0","_npmVersion":"lerna/4.0.0/node@v16.4.0+x64 (linux)","dist":{"integrity":"sha512-suDSCuKKuqiEB4UDgwWHbrPRxNwrusZ3ImXr85kfsQXGmKptMogaq22xoaHn32NC++lzZXxdWtAJriieszzFXw==","shasum":"07794cb53f4bd23a9452d53a0ad7778711ee323f","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.15.2.tgz","fileCount":9,"unpackedSize":10931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2hRvCRA9TVsSAnZWagAAyWkP/1L5n/JDOKgYGeRyj9ze\nXZs/zlv4lgNYuebyAQ81j01ma1EK/pp2MyS5hekDzZBiUHa3CRnTtEoVygZI\n+jFTGmRftxN7oH1iEK4PE2Sw44UymW2mWu3qovuXvg13gQycBF24jd6IFDMQ\nY/7Ap99J8D3f5nHEvoHQ+IVe4tSuF6dvc4vjKfEUNYoHAPMW54woSiUkbhVK\nC88yRRYo75HhLQ1xH0Td13ytgx62qPGbPYU9EH1HN8Ol3wlp34p+ERMHsv9O\nwgQ3u+Z2ps8ylaHxyWcGx5JgVcTxFDn5bbciyRZuqBSlPlL7xsov+3o4M4t/\nyVjrsljZqS5X05NYM1t99cv57PjZmoCY/Z+a5DzypasjTZv1jBhBEscXnPSE\nLD77RqWtwLci7OKzoiUB247/gxulXAviMgYSouq65c9H9w4VnmnX2W9v0umd\njDqm20q+ErQofpItydDzQrzBXHSkL47Gr6o3dRjSXhSI9S7AoRT5rORqL4S0\nqjXY40DTCmtSTg/yDMYpoq63yQiwKbeR5N8IrpEPzD7dBuK93HV+g7ilRVXS\nMU7n5uDSVhMdANSXy/Olc0qk6e30BcLrUe+bFdtbWGfO5yi+h2Qr4NKONfPx\nzWV/QXXXyAJ56++VgBt3uo0OqS3yS7DklVOkWmP3Z7RIl37cXQGVjHjWSPAr\nlkk0\r\n=VQqW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuwSiARBOQtJpa2venlBLLvnLcaswXzTIS1SlJQAEIkAiEAt2/yKaS5zHEC4josrIUQDFSVX5mqKguw7OXD/iv8SPk="}],"size":3189,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.15.2.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.15.2_1624904814555_0.27604022079638924"},"_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":1624904814752,"_cnpm_publish_time":1624904814752,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}