Skip to main content
  1. Docs
  2. Components
  3. Type

Visually hidden

Content for screen readers only: read, never shown. Never display: none.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Behaviour

Read
Screen readers and braille displays get it; it's never display: none.
Selection
It's clipped to 1px, so it never takes space.

02

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Text zoom to 200% and text spacing (WCAG 1.4.4, 1.4.12)
  • Forced colours and right to left
Next — Visually hiddenChangelog