Skip to main content
LocalTapiola Turva

Visually Hidden ready

Visually Hidden is used when an element needs to be available to assistive technology, but otherwise hidden.

The visually hidden component hides text visually from screen, but keeps it available to assistive technologies, such as screen readers. The component shouldn’t be used to hide interactive content.

Open in new window
<duet-visually-hidden>
  <duet-label>Visually hidden label</duet-label>
</duet-visually-hidden>

Dependencies #

Used by #

Graph #

graph TD;
  duet-tooltip --> duet-visually-hidden
  style duet-visually-hidden fill:#f9f,stroke:#333,stroke-width:4px

Integration

For integration, events and theming guidelines, please see Using Components. That page explains how to implement and use Duet’s components across different technologies like Angular, React or Vanilla JavaScript.