{"name":"@reach/visually-hidden","version":"0.1.1","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.4.0","react-dom":"^16.4.0"},"author":{"name":"Ryan Florence"},"license":"MIT","_id":"@reach/visually-hidden@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-eCUX0tQ+Ym7O7Srkt+AbX7nUp1wTM0ekTGfMfGP0beheI+S9mvEDGcueeqA6118IcUIzynA6vuOYJS3KQMsBrA==","shasum":"5ad8cbf0758ac5bf3bd42dfcaa045d7ffd475d6e","tarball":"http://registry-npm.ywwl.com/@reach/visually-hidden/download/@reach/visually-hidden-0.1.1.tgz","fileCount":4,"unpackedSize":2249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjcXyCRA9TVsSAnZWagAA4PEP/izDhbYDoCzSgHL94YWJ\n6RTJewnd2oBjM4Cbq9kaPd19s6DEkOTPhdkEKvPxBuTdyrBowv0xrLWW0WmR\njAvchqsQfW5Fao3s4XWOQ3TdQ+dG7E5NrERj2TXFujJgduo3q08luOe5NWIE\ng0UhDer9Q5fHEV7okN3T0FaUnY+bg26MouFyv8xIbdMItLkoNAIwR1ESGACy\nlx4ac2KbEwPHAc0qJ+SVazFk7DtqLuaqNCD/hb9e+ZQUHciFyrTXvQBKKWvp\nOuLAbI4crr/09zGyRgIeKbg40H69U4Z6PJQvUMj2mllnA6W5nENxqi+swVhG\nBxisktuuIFURKSalKsjcI3k/ZiKCQubwPn5/Alz3VWfbVztZJj1fyLvDzb0s\n4z3SIZ7exZkzW86hq3LMYqzpWNM5MOszohimALxz8nbahT644XXYUPHLfX9D\nn7r8XMNc+rbOjg0LjMaaO2xQwvRAzEuEXNmeC04U1k5pAgLdB5JtydfEePg/\nA7WMDHeWtbThZ9A+IfsKtItYD6+ErSAuI5CHpDaCH68rB4Ozt1nlZ5bMVSKh\n0hwIDEZw1tJF8GkbbMIqSIZqudYpNovxV962E7kq7EykNSa++KEos73tqfwb\nQI30xrnftN791r44qq3n6nxhYhcbBdQX1NC4m29Y25OkeJ8FmLqd1AktYFnS\nB+yY\r\n=08H8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEf7xrD+uNxqO5cY0uCLhQb8K3mEwAC64iM0wLNLd6g0AiEAobWWb318sTOR9MAPDVY16EhyCcnkOPE+d7ZGl4a5lAY="}],"size":965,"noattachment":false,"key":"/@reach/visually-hidden/-/@reach/visually-hidden-0.1.1.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/visually-hidden_0.1.1_1536017905327_0.12458507206442881"},"_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":1536017905452,"_cnpm_publish_time":1536017905452,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}