VisuallyHidden
VisuallyHidden
is a common technique used in web accessibility to hide content from the visual client, but keep it readable for screen readers.
Import
import { VisuallyHidden } from "@yamada-ui/react"
Usage
It is used to visually hide elements, but it is accessible in screen readers. By default, it renders a span
element.
Editable example
<Button> <VisuallyHidden>Checkmark</VisuallyHidden> <CheckIcon /> </Button>
Edit this page on GitHub