Skip to content
Clairos Learn

Accessibility · Lesson 6 of 8 · 7 minutes

Accessibility: Status announcements

role="status" communicates non-urgent updates without requiring an interrupting alert or focus change.

Mastery 0/3Run itExplain itApply it
Web workshopInert preview · code inspection

Current edit

PreviewNo external resources

Understand the pattern

role="status" communicates non-urgent updates without requiring an interrupting alert or focus change.

role="status" communicates non-urgent updates without requiring an interrupting alert or focus change.

Misconceptions to reject

  • A visual appearance alone guarantees the intended HTML meaning.
  • Replacing semantic elements with generic divs automatically improves accessibility.

The preview is a sanitized subset, not a full browser compatibility test.

Worked example and expected result
<p id="status" role="status">Notes saved.</p><button type="button">Keep editing</button>

role="status" communicates non-urgent updates without requiring an interrupting alert or focus change.

Try a variation

Adapt the final example to a different project name while retaining its structure and relationships. A different context still needs a real browser and accessibility check.

Explain it

Which statement correctly explains status announcements?

Apply it elsewhere

You reuse status announcements in a different project. What must still be verified?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Accessibility: Heading structureTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Accessibility: Visible focusA keyboard target needs an obvious focus indicator. Do not remove outlines without an equally visible replacement.Practice
  2. 02Accessibility: Heading structureHeadings organize navigable topics. Styling a paragraph to look large does not give it heading semantics.Practice
  3. 03Accessibility: Accessibility checkpointAccessible structure should survive without color, hover, or a pointing device.Practice