{"name":"@reach/visually-hidden","version":"0.12.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","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/visually-hidden.esm.js","typings":"dist/index.d.ts","dependencies":{"tslib":"^2.0.0"},"gitHead":"09eeccda6e4597d21545982c53db5c42beddce6b","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/visually-hidden@0.12.0","_nodeVersion":"14.6.0","_npmVersion":"lerna/3.22.1/node@v14.6.0+x64 (darwin)","dist":{"integrity":"sha512-VXtyR36WOS0FHmFQ/BzfswwPyBXICl/YjmTPtx/I0Vy5C6djjhD9kDsE+h/FpHzP3ugTdqdqiPBVElIZTSwOSA==","shasum":"c6c39f0bf292ae97a480ba3ed32e8a6149e852d4","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.12.0.tgz","fileCount":11,"unpackedSize":24919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvvD0CRA9TVsSAnZWagAAWYMP/3bhwGSZWsbNzyY+cFAE\nrkb/PKjK5bhZO9E3IH4B/UzPiHkBuW54MpdydImBGkSnfs54P4M7I9Gb2zXs\nYT5jNAm6Vp6S7F31sbwdJZn5uiKDbnDIk00gKaf5xalhx9snnnTurVC3uUFQ\nUFAlOlhLTnNkwC4Ts7qxb6XjHPxtGRXEA9zi7iejafXmQnbVH7gZccoqa6/g\nuIURPB2jKKwxvSwKnQecEIvZFSp1GZWO3MX8bkUjGyzcM5Revr3yIdFGV6pi\n659j4bn6/F2DmNU2XSEGAqfiyHhPkW6Spyz/p8lfM4I831uhOgmI2yHIRcYz\nhiIjEgu39qscwzKc8KM972Dq8rDOpbTE+ZSvu6SReEAgSCCi9BMNYPPLqP1z\nKK6FLE4mwDX8uRjgRZdEa3hhMadufltkPXGgn02H7RTVit96esS4KYh6d/Vx\nVGdTtnDp/QYuG1CpeVTGQddDs8a4ZWSm0Bb2QR5keo+99rwerpAcqZKTzQOx\nTRpl4NuGbJjTNIhCwwAxkhlAvlnoyYLOM3ey30MtlKNCSLCIWauUcE6WwT0r\nLNbVV2H0fZ+Zg+S2oWhl+RlihYOAvDdZAdCKTtkunsb+LyCYBo91ZCzwpten\nNMwQIfck87Uu4HKQ8ylX9DJX9imq90kt7Gzcr6AuxnnK0NDNv+Q3inwOGJCH\nthKz\r\n=lUOs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXI5ne/uP+4AaVbqSNIlvFZ1yF14BtCqzToC/b2jQzTAIgapgetsm11ZQ5i10kxaHdeOIfkwz6fKVB+UQPN3VJeyA="}],"size":5291,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.12.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.12.0_1606349044374_0.9179996031928703"},"_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":1606349044491,"_cnpm_publish_time":1606349044491,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}