{"name":"@reach/visually-hidden","version":"0.1.4","description":"Render text that is announced to screen readers but visually hidden.","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":{"name":"Ryan Florence"},"license":"MIT","_id":"@reach/visually-hidden@0.1.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-QHbzXjflSlCvDd6vJwdwx16mSB+vUCCQMiU/wK/CgVNPibtpEiIbisyxkpZc55DyDFNUIqP91rSUsNae+ogGDQ==","shasum":"0dc4ecedf523004337214187db70a46183bd945b","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.1.4.tgz","fileCount":4,"unpackedSize":2145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxnOhCRA9TVsSAnZWagAAQY0P/0PNXVt0opsVR7jTrYBu\nVrp/e56Fg1U9aQPqBw+cC7O0sgI7v/crpw4EvampTltougZ3MI+u5QrrVh2N\n6Gu/rzld8JcUoh6eW4YQA5y6qo9YfSOisFLtfzqsddSr2y5PqLUplqP31qaE\nfjE4TdgPkx5tu7NEz3g7a6QABFi/BIE3pnDH+as6hzydKSYAjtEqZ5f07Vv2\nVFLRairfPFfJ0c9SSruSIbbLgv9lp0PmAMoqdxZ1dFmaQEqsw4SFhBwTEfFF\nFNge2xGkvTHa0DRCKM83bqzagPp4x+IIHlvn08EAZ+P3AF8loZ4FLU188vWq\nzz769TlNFdIOMxDop5+T8lIrkMkJ7RfUwCCE+cO3PDrrbJzBSFdFIaMzfgV6\nI0EmLLOcc0K4qilkmPn9FDydW209fwDyWg0vsM/zCo7ST/gyvwR4qn8oTJrE\nadw2DpYowVFUMLHpt58EJZD0puxvscWBjR08nc6iuzSJ5NMNTEZ1Y3PFENHY\nTOP4Byvtxa0K2AgQ3D1q0wJ62DxmCZbhJd208In5kq4ocWFddcTR8fkvLcX7\ndAXmWzAkuA77fd0kDvIesQ9mXI8HKZ3MHAe/x/bbCgIT0G8/oQtfUVGzLsmW\nO2pLvq22E1RNAgryXLp3Lfblmsq5GMZoJyjOX1NMmQvB57gMDDRqk4L6GlMg\njvdY\r\n=40YV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFx2/MG8M9TIdb8KIblE/uYTbrVD4t/2KVN7p+yurJj9AiEA0z9QYLxYfR/NWDhNt78Baad1hMUlkGtcWieQeQPJuR8="}],"size":977,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.1.4.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.1.4_1556509601290_0.7257351961271334"},"_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":1556509601389,"_cnpm_publish_time":1556509601389,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}