Hides content from the screen in an accessible way.
Visually hides content while preserving it for assistive technology.
Install the component from your command line.
Import the component.
Use the visually hidden primitive.
Anything you put inside this component will be hidden from the screen but will be announced by screen readers.
This is useful in certain scenarios as an alternative to traditional labelling with aria-label
or aria-labelledby
.