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
Liam KimCustomer Success
Lea TanakaHR Partner

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 9 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: $1,014,000.00Sale price: $780,000

Screen reader hears: "Original price: $1,014,000.00 Sale price: $780,000"

11Descriptive read more links

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

The small habits that make a big difference Read more about The small habits that make a big difference

Screen reader hears: "Read more about The small habits that make a big difference, 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, 33%"

13Custom close button

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

We keep things simple, so you can focus on what matters to you.

Screen reader hears: "Dismiss message, button"

14Status dots

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

  • Online:Mason Duarte
  • Away:Tariq Moreau
  • Offline:Omar Carter

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 22 to 76 units over three months.

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

Country farmhouse
Country farmhouse
Studio apartment
Studio apartment
Garden villa
Garden villa

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)
Sep 5, 2026$50.89

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