Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

VisuallyHidden

VisuallyHidden is a common technique used in web accessibility to hide content from the visual client, but keep it readable for screen readers.

Source@yamada-ui/visually-hidden

Import

import { VisuallyHidden } from "@yamada-ui/react"
Copied!

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>
Copied!

Edit this page on GitHub

PreviousFocusLockNextFormatByte