Render text that is announced to screen readers but visually hidden.
npm install @react-lit/visually-hiddenRender text that is announced to screen readers but visually hidden.
``bash`
$ npm i @react-lit/visually-hiddenor
$ yarn add @react-lit/visually-hidden
`js
import * as React from 'react',
import { VisuallyHidden } from '@react-lit/visually-hidden';
function Example() {
return (
)
}
`
(1) Install dependencies
`bash`
$ npm ior
$ yarn
(2) Run initial validation
`bash`
$ ./Taskfile.sh validate
(3) Run tests in watch-mode to validate functionality.
`bash``
$ ./Taskfile test -w
---
_This project was set up by @jvdx/core_