Skip to content
Skillpedia
Websites & UI (frontend)75k · #2731

aria-live-regions

What it does

This skill checks that content updated without a page reload is announced to screen readers. It is for developers building forms, carts, status messages and loading states.

When to use it

  • ✓When a form shows an error or success message without reloading.
  • ✓When a cart count or status message changes on the page.
  • ✓When you add loading or session expiry alerts.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-live-regions/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-live-regions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Make sure the cart count and error messages on my shop are read out by screen readers when they change.”

5 new skills a week. 1 minute to read.

How it works

The agent adds live regions with polite or assertive settings to the containers that change, and makes sure each region exists before its content updates.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Announce dynamic content with ARIA live regions

Without live regions, screen reader users miss dynamic updates entirely—they won't know their form submitted, their cart updated, or an error occurred.

Quick Reference

  • Use aria-live='polite' for non-urgent updates (cart count, status messages)
  • Use aria-live='assertive' only for critical alerts (errors, session expiry)
  • Use role='alert' or role='status' for semantic live regions
  • The live region must exist in DOM before content changes

Check

Verify that dynamic content changes (notifications, form errors, loading states) use aria-live regions appropriately.

Fix

Add aria-live attributes with correct politeness levels (polite, assertive) to containers with dynamic content.

Explain

Explain how ARIA live regions enable screen readers to announce content changes without requiring user focus.

Code Review

Review the rendered markup and interactive states that affect Announce dynamic content with ARIA live regions. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/aria-live-regions

FAQ

When should a message be assertive?

The skill says to use assertive only for critical alerts, such as errors or session expiry.

Why must the live region exist before the update?

The skill says the region must already be in the page, because a region added along with new content may not be announced.

Which roles can I use?

The skill lists role alert and role status as semantic options.

Details

Original description by the author

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Announce dynamic content with ARIA live regions. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2731
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills