VisuallyHidden

OverviewExamplesPropertiesSlotsUsageIntegration

Visually hidden is used when an element needs to be available to assistive technologies like screen readers, but be otherwise hidden.

Loading...

Slots

Slot name Description
Default slotThe visually hidden content.

Usage

This section includes guidelines for designers and developers about the usage of this component in different contexts.

Do

  • Use to hide text visually from the screen, but keep it available to assistive technologies, such as screen readers.

Don’t

  • Don’t use for hiding interactive content.

Integration

For integration guidelines, please see Web Components documentation .

Was this page helpful?

Yes No

We use this feedback to improve our documentation.