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
Maya OrtegaContent Writer
Nora MensahMarketing Lead

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 13 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: $265.19Sale price: $203.99

Screen reader hears: "Original price: $265.19 Sale price: $203.99"

11Descriptive read more links

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

Honest ways to improve your team Read more about Honest ways to improve your team

Screen reader hears: "Read more about A guide to rental management, 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, 52%"

13Custom close button

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

A flexible idea helps decisions quicker and clearer with friendly support.

Screen reader hears: "Dismiss message, button"

14Status dots

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

  • Online:Samir Alvarez
  • Away:Owen Harlow
  • Offline:Jonah Harlow

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 25 to 87 units over three months.

Screen reader hears: "Sales grew from 25 to 87 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

City loft
City loft
Family house
Family house
Studio apartment
Studio apartment

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)
Apr 13, 2026$24.07

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)"