Coding task · HTML and CSS course · Module 10: Accessibility (a11y)

aria-live Regions and Notifications

aria-live tells screen readers about dynamic changes: polite waits until the reader finishes, assertive interrupts immediately. role="alert" is a shorthand for aria-live="assertive".

Task

Add aria-live="polite" to the ticket status region, role="alert" for urgent notifications, and aria-live="assertive" to the countdown timer.