a11ied

Source on GitHub

a11ied
Menu

Reference

alert

Tests whether triggering content inside a role="alert" container announces the alert message promptly without moving focus.

alert ARIA Specification

Support The average score of the 8 screen reader and browser pairs tested. A pair's score is the share of its tests that pass on their latest run. See "Support score" in the glossary

56.3%

Every tested environment Each version of a screen reader and browser pair counts as its own result. The simulated screen reader is left out. See "Environment" in the glossary

6 of 10 pass · 4 fail a MUST check Something W3C ARIA-AT requires a screen reader to convey. See "MUST, SHOULD, MAY" in the glossary

Test results

Group by

Showing 14 of 14 results

10 results: 3 pass, 4 fail, 3 untested
VoiceOver macOS 26.3.1 (arm64) Google Chrome 157.0.8103.79 2/3 MUST Fail
Device: MacBook Pro (Apple M1 Pro)
Key speech Trigger alert button is in the VoiceOver cursor | Trigger alert button

Expected phrase "Hello" was not spoken.

Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Trigger alert button is in the VoiceOver cursor

    Item text: Trigger alert button

  2. 2.
    VO-Right Arrow
    Trigger alert button
Spec assertions (4) 2/3 MUST · 0/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert button is in the VoiceOver cursor

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Expected phrase "Hello" was not spoken.

    Failed
  • MAY
    Convey role "alert" when the alert region updates

    Expected phrase "alert" was not spoken.

    Unsupported
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
VoiceOver macOS 26.3.1 (arm64) Safari 26.3.1 2/3 MUST Fail
Device: MacBook Pro (Apple M1 Pro)
Key speech Trigger alert button is in the VoiceOver cursor | Trigger alert button

Expected phrase "Hello" was not spoken.

Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Trigger alert button is in the VoiceOver cursor

    Item text: Trigger alert button

  2. 2.
    VO-Right Arrow
    Trigger alert button
Spec assertions (4) 2/3 MUST · 0/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert button is in the VoiceOver cursor

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Expected phrase "Hello" was not spoken.

    Failed
  • MAY
    Convey role "alert" when the alert region updates

    Expected phrase "alert" was not spoken.

    Unsupported
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
VoiceOver macOS 26.3.1 (arm64) Firefox 156.0.1 2/3 MUST Fail
Device: MacBook Pro (Apple M1 Pro)
Key speech Trigger alert button is in the VoiceOver cursor | Trigger alert button

Expected phrase "Hello" was not spoken.

Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Trigger alert button is in the VoiceOver cursor

    Item text: Trigger alert button

  2. 2.
    VO-Right Arrow
    Trigger alert button
Spec assertions (4) 2/3 MUST · 0/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert button is in the VoiceOver cursor

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Expected phrase "Hello" was not spoken.

    Failed
  • MAY
    Convey role "alert" when the alert region updates

    Expected phrase "alert" was not spoken.

    Unsupported
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
VoiceOver macOS 26.3.1 (arm64) WKWebView (macOS WebKit) 21623 WebView 2/3 MUST Fail
Device: MacBook Pro (Apple M1 Pro)
Key speech Trigger alert button is in the VoiceOver cursor | Trigger alert button

Expected phrase "Hello" was not spoken.

Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Trigger alert button is in the VoiceOver cursor

    Item text: Trigger alert button

  2. 2.
    VO-Right Arrow
    Trigger alert button
Spec assertions (4) 2/3 MUST · 0/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert button is in the VoiceOver cursor

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Expected phrase "Hello" was not spoken.

    Failed
  • MAY
    Convey role "alert" when the alert region updates

    Expected phrase "alert" was not spoken.

    Unsupported
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
VoiceOver iOS iOS (Not tested) Safari (Not tested) Untested
Device: iPhone

Not yet tested on iOS.

VoiceOver iOS iOS (Not tested) WKWebView (Not tested) WebView Untested
Device: iPhone

Not yet tested on iOS.

TalkBack 14.2.0.618048417 Android 13 (API 33) Google Chrome 109.0.5414.123 3/3 MUST Pass
Device: sdk_gphone64_arm64 (Android Emulator)
Key speech Hello

Pre- and post-activation behavior matched spec: "Hello".

Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    Trigger alert. button
  2. 2.
    TalkBack double-tap (activate)
    Hello
Spec assertions (4) 3/3 MUST · 0/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert. button

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Matched: Hello

    Passed
  • MAY
    Convey role "alert" when the alert region updates

    Expected phrase "alert" was not spoken.

    Unsupported
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
TalkBack 14.2.0.618048417 Android 13 (API 33) Android System WebView 109.0.5414.123 WebView 3/3 MUST Pass
Device: sdk_gphone64_arm64 (Android Emulator)
Key speech Trigger alert. button, Hello, Trigger alert. button, Double-tap to activate

Pre- and post-activation behavior matched spec: "Trigger alert. button, Hello, Trigger alert. button, Double-tap to activate".

Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    Trigger alert. button, Double-tap to activate
  2. 2.
    TalkBack double-tap (activate)
    Trigger alert. button, Hello, Trigger alert. button, Double-tap to activate
Spec assertions (4) 3/3 MUST · 1/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: Trigger alert. button, Double-tap to activate

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Matched: Trigger alert. button, Hello, Trigger alert. button, Double-tap to activate

    Passed
  • MAY
    Convey role "alert" when the alert region updates

    Matched: Trigger alert. button, Hello, Trigger alert. button, Double-tap to activate

    Passed
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed
TalkBack 14.2.0.618048417 Android 13 (API 33) Firefox (Not tested) Untested
Device: sdk_gphone64_arm64 (Android Emulator)

Not yet tested on Android Firefox.

Simulated screen reader 0.32.1 macOS 26.3.1 (arm64) Google Chrome (Headless) 157.0.8103.79 3/3 MUST Pass
Screen reader: a11ied / Guidepup Virtual 0.32.1 Device: Headless Chromium (Playwright)
Key speech assertive: Hello

Pre- and post-activation behavior matched spec: "assertive: Hello".

Screen reader log 4 announcements
  1. 1.
    virtual.walk
    button, Trigger alert

    Role: button · Name: Trigger alert

  2. 2.
    virtual.walk
    alert

    Role: alert

  3. 3.
    virtual.walk
    end of document

    Role: document

  4. 4.
    virtual.activate
    assertive: Hello

    Item text: Trigger alert

Spec assertions (4) 3/3 MUST · 1/1 MAY
  • MUST
    Convey initial control label "Trigger alert" before activation

    Matched: button, Trigger alert

    Passed
  • MUST
    Convey alert text "Hello" after activating the trigger button

    Matched: assertive: Hello

    Passed
  • MAY
    Convey role "alert" when the alert region updates

    Matched: assertive: Hello

    Passed
  • MUST
    Cause no severe negative side effects

    No unexpected chrome, focus trap, or spurious speech observed.

    Passed

Alert Example

W3C ARIA-AT test plan · V25.11.02 · CANDIDATE
4 results: all pass
VoiceOver 14.2 macOS 14.2 Safari 17.2.0 3/3 MUST Pass
Device: Mac (model not recorded by ARIA-AT) Date: 2025-11-03
Alert Example V25.11.02 · CANDIDATE · 1 test
Trigger an alert 3 commands MUST 3/3 MAY 0/3 Pass
  1. Control+Option+Space
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  2. Space
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  3. Enter
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
NVDA 2023.3 Windows Chrome 120.0.6099.110 4/4 MUST Pass
OS version: Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-11-03
Alert Example V25.11.02 · CANDIDATE · 1 test
Trigger an alert 4 commands MUST 4/4 MAY 4/4 Pass
  1. Space (browse mode on) (browseMode)
    alert  Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  2. Enter (browse mode on) (browseMode)
    alert  Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  3. Space (focus mode on) (focusMode)
    alert  Hello
    space
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  4. Enter (focus mode on) (focusMode)
    alert  Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
JAWS 2025.2508.120 Windows Chrome 148 4/4 MUST Pass
OS version: Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-06-02
Alert Example V25.11.02 · CANDIDATE · 1 test
Trigger an alert 4 commands MUST 4/4 MAY 0/4 Pass
  1. Space (virtual cursor active) (virtualCursor)
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  2. Enter (virtual cursor active) (virtualCursor)
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  3. Space (PC cursor active) (pcCursor)
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  4. Enter (PC cursor active) (pcCursor)
    Hello
    • MAY Not conveyed
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
JAWS 2024.2310.70 Windows Chrome 119.0.0 4/4 MUST Pass
OS version: Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-11-03
Alert Example V25.11.02 · CANDIDATE · 1 test
Trigger an alert 4 commands MUST 4/4 MAY 4/4 Pass
  1. Space (virtual cursor active) (virtualCursor)
    Alert!
    Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  2. Enter (virtual cursor active) (virtualCursor)
    Alert!
    Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  3. Space (PC cursor active) (pcCursor)
    Alert!
    Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed
  4. Enter (PC cursor active) (pcCursor)
    Alert!
    Hello
    • MAY Pass
      Role 'alert' is conveyed
    • MUST Pass
      Text 'Hello' is conveyed