Skip to content

Visually Hidden

Visually hidden text is invisible on screen but still read by screen readers, so icon-only controls, badges and charts get a meaningful description. visually-hidden-focusable shows the element again when it receives keyboard focus. Each example lists what assistive technology announces.

1Icon-only buttons

Hidden text gives icon buttons a name for assistive technology.

Screen reader hears: "Edit profile, button", "Print invoice, button", "Delete item, button"

2Skip to content link

visually-hidden-focusable hides the link until a keyboard user tabs to it.

Skip to main content

Press Tab inside this box to reveal the skip link.

Screen reader hears: "Skip to main content, link" as the first stop on the page

3Hidden search label

The search field keeps a real label for screen readers while the design shows only an icon.

Screen reader hears: "Search the help centre, search field"

4Action column header

An empty-looking column header still names the column for screen readers.

NameRoleActions
Amara VargaProject Manager
Tariq BrennanProject Manager

Screen reader hears: Column header "Actions"; each button: "More actions for <name>"

5Badge counts

A counter badge says what it counts only to assistive technology.

Screen reader hears: "Inbox 16 unread messages, button"

6Current page in pagination

Mark the active page in words, not only by colour.

Screen reader hears: "2 (current page)"

7Star rating

The stars are decorative; the hidden text states the score.

Rated 4 out of 5

Screen reader hears: "Rated 4 out of 5"

8Loading spinner

Spinners need a text alternative so people know something is happening.

Loading your orders

Screen reader hears: "Loading your orders, status"

9Required field marker

The red asterisk is hidden from screen readers and replaced by the word required.

Screen reader hears: "Full name (required), edit text, required"

10Old and new price

Struck-through prices need words to explain which price is which.

Original price: $31.20Sale price: $24.00

Screen reader hears: "Original price: $31.20 Sale price: $24.00"

11Descriptive read more links

Hidden context turns many identical "Read more" links into distinct ones.

What our customers asked us most Read more about What our customers asked us most
Looking back at a busy season Read more about Looking back at a busy season

Screen reader hears: "Read more about What our customers asked us most, link"

12Progress with a hidden label

A progress bar that also announces its purpose and value.

Profile completion

Screen reader hears: "Profile completion, progress bar, 61%"

13Custom close button

A close button drawn with an icon gets its name from hidden text.

Start free, upgrade when you grow and cancel any time with one click.

Screen reader hears: "Dismiss message, button"

14Status dots

Colour alone is not enough: the dot gets a hidden status word.

  • Online:Theo Duarte
  • Away:Noah Ashford
  • Offline:Jonah Sato

Screen reader hears: "Online: name", "Away: name", "Offline: name"

15Chart summary

A visual chart is hidden from screen readers and summarised in text instead.

Sales grew from 44 to 85 units over three months.

Screen reader hears: "Sales grew from 44 to 85 units over three months."

16Social icon links

Each icon link carries the network or channel name as hidden text.

Screen reader hears: "Join our community chat, link", "Subscribe to the blog feed, link", "Email the team, link"

17Hidden section heading

A heading that only screen readers see keeps the page outline complete.

Featured products

Priority support
Priority support
Sales pipeline add-on
Sales pipeline add-on
Enterprise suite
Enterprise suite

Screen reader hears: "Featured products, heading level 2" and the section is listed as a landmark

18Sortable column state

Arrows show sorting visually; hidden text states it in words.

Date (sorted ascending) Amount (sortable)
Nov 14, 2025$302.95

Screen reader hears: "Date (sorted ascending), link", "Amount (sortable), link"

19Colour swatches

Swatch radio buttons show only colour; the label text is visually hidden.

Colour

Screen reader hears: "Colour, group. Midnight black, radio button, checked, 1 of 4"

20Step indicator

Each step announces whether it is completed, current or still to come.

  1. Details (completed)
  2. 2Shipping (current step)
  3. 3Payment (not started)

Screen reader hears: "Details (completed)", "Shipping (current step)", "Payment (not started)"