a11ied

Source on GitHub

a11ied
Menu

Reference

aria-expanded: Updates from collapsed to expanded on activation

Tests whether activating an aria-expanded button updates its state from collapsed to expanded and announces the expanded state.

ARIA aria-expanded Widget States Interactive

Expected behavior and spec guidance

Initially the "Details" button announces collapsed; after activation it updates aria-expanded="true", reveals #panel, and announces expanded.

  • MUST Convey initial control text "Details" before activation
  • MUST Convey dynamic announcement "expanded" after activation
  • MUST Convey required ARIA state "expanded"
  • MUST Cause no severe negative side effects

Test case

Screen reader outcomes

VoiceOver

6 results: 4 pass, 2 untested

macOS

macOS 26.3.1 (arm64) Google Chrome 157.0.8103.79 4/4 MUST Pass
Screen reader: VoiceOver Browser: Google Chrome 157.0.8103.79 OS: macOS 26.3.1 (arm64) Device: MacBook Pro (Apple M1 Pro) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output Details expanded button
Screen reader log 3 announcements
  1. 1.
    VO-AreaTop
    Details collapsed button is in the VoiceOver cursor

    Item text: Details collapsed button

  2. 2.
    VO-Right Arrow
    Details collapsed button
  3. 3.
    VO-Space (act)
    Details expanded button
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: Details collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: Details expanded button

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: Details expanded button

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed
macOS 26.3.1 (arm64) Safari 26.3.1 4/4 MUST Pass
Screen reader: VoiceOver Browser: Safari 26.3.1 OS: macOS 26.3.1 (arm64) Device: MacBook Pro (Apple M1 Pro) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output Details expanded button
Screen reader log 3 announcements
  1. 1.
    VO-AreaTop
    Details collapsed button is in the VoiceOver cursor

    Item text: Details collapsed button

  2. 2.
    VO-Right Arrow
    Details collapsed button
  3. 3.
    VO-Space (act)
    Details expanded button
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: Details collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: Details expanded button

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: Details expanded button

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed
macOS 26.3.1 (arm64) Firefox 156.0.1 4/4 MUST Pass
Screen reader: VoiceOver Browser: Firefox 156.0.1 OS: macOS 26.3.1 (arm64) Device: MacBook Pro (Apple M1 Pro) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output Details expanded button
Screen reader log 3 announcements
  1. 1.
    VO-AreaTop
    Details collapsed button is in the VoiceOver cursor

    Item text: Details collapsed button

  2. 2.
    VO-Right Arrow
    Details collapsed button
  3. 3.
    VO-Space (act)
    Details expanded button
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: Details collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: Details expanded button

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: Details expanded button

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed
macOS 26.3.1 (arm64) WKWebView (macOS WebKit) 21623 WebView 4/4 MUST Pass
Screen reader: VoiceOver Browser: WKWebView (macOS WebKit) 21623 (WebView) OS: macOS 26.3.1 (arm64) Device: MacBook Pro (Apple M1 Pro) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output Details expanded button
Screen reader log 3 announcements
  1. 1.
    VO-AreaTop
    Details collapsed button is in the VoiceOver cursor

    Item text: Details collapsed button

  2. 2.
    VO-Right Arrow
    Details collapsed button
  3. 3.
    VO-Space (act)
    Details expanded button
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: Details collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: Details expanded button

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: Details expanded button

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed

iOS

iOS (Not tested) Safari (Not tested) VoiceOver iOS Untested
Screen reader: VoiceOver iOS Browser: Safari (Not tested) OS: iOS (Not tested) Device: iPhone

Not yet tested on iOS.

iOS (Not tested) WKWebView (Not tested) WebView VoiceOver iOS Untested
Screen reader: VoiceOver iOS Browser: WKWebView (Not tested) (WebView) OS: iOS (Not tested) Device: iPhone

Not yet tested on iOS.

TalkBack

3 results: 2 pass, 1 untested

Android

Android 13 (API 33) Google Chrome 109.0.5414.123 TalkBack 14.2.0.618048417 4/4 MUST Pass
Screen reader: TalkBack 14.2.0.618048417 Browser: Google Chrome 109.0.5414.123 OS: Android 13 (API 33) Device: sdk_gphone64_arm64 (Android Emulator) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output expanded
Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    collapsed. Details. button
  2. 2.
    TalkBack double-tap (activate)
    expanded
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: collapsed. Details. button

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: expanded

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: expanded

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed
Android 13 (API 33) Android System WebView 109.0.5414.123 WebView TalkBack 14.2.0.618048417 4/4 MUST Pass
Screen reader: TalkBack 14.2.0.618048417 Browser: Android System WebView 109.0.5414.123 (WebView) OS: Android 13 (API 33) Device: sdk_gphone64_arm64 (Android Emulator) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output expanded. Details. button, expanded. Details. button, Double-tap to activate. Actions available, use Tap with 3 fingers to view, expanded
Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    collapsed. Details. button
  2. 2.
    TalkBack double-tap (activate)
    expanded. Details. button, expanded. Details. button, Double-tap to activate. Actions available, use Tap with 3 fingers to view, expanded
Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: collapsed. Details. button

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: expanded. Details. button, expanded. Details. button, Double-tap to activate. Actions available, use Tap with 3 fingers to view, expanded

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: expanded. Details. button, expanded. Details. button, Double-tap to activate. Actions available, use Tap with 3 fingers to view, expanded

    Passed
  • MUST
    Cause no severe negative side effects

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

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

Not yet tested on Android Firefox.

Simulated screen reader

1 result: pass

macOS

macOS 26.3.1 (arm64) Google Chrome (Headless) 157.0.8103.79 Simulated screen reader 0.32.1 4/4 MUST Pass
Screen reader: a11ied / Guidepup Virtual 0.32.1 Browser: Google Chrome (Headless) 157.0.8103.79 OS: macOS 26.3.1 (arm64) Device: Headless Chromium (Playwright) Recorded: 2026-11-20
MUST 4/4 0 side effects
Key output button, Details, 1 control, expanded
Screen reader log 3 announcements
  1. 1.
    virtual.walk
    button, Details, 1 control, not expanded

    Role: button · Name: Details

  2. 2.
    virtual.walk
    end of document

    Role: document

  3. 3.
    virtual.activate
    button, Details, 1 control, expanded

    Item text: Details

Spec assertions (4) 4/4 MUST
  • MUST
    Convey initial control text "Details" before activation

    Matched: button, Details, 1 control, not expanded

    Passed
  • MUST
    Convey dynamic announcement "expanded" after activation

    Matched: button, Details, 1 control, expanded

    Passed
  • MUST
    Convey required ARIA state "expanded"

    Matched: button, Details, 1 control, expanded

    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed

Reports from the W3C ARIA-AT Community Group covering aria-expanded.

VoiceOver

7 results: all fail

macOS

macOS 15.6 Safari 18.6 VoiceOver 15.6 53/59 MUST Fail
Screen reader: VoiceOver for macOS 15.6 Browser: Safari 18.6 OS: macOS 15.6 Device: Mac (model not recorded by ARIA-AT) Date: 2025-11-04
MUST 53/59 8 severe side effects
macOS 15.1 Safari 18.3 VoiceOver 15.1 25/34 MUST Fail
Screen reader: VoiceOver for macOS 15.1 Browser: Safari 18.3 OS: macOS 15.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-11-03
MUST 25/34 3 severe side effects
macOS 15.0 Safari 26 VoiceOver 15.0 0/13 SHOULD Fail
Screen reader: VoiceOver for macOS 15.0 Browser: Safari 26 OS: macOS 15.0 Device: Mac (model not recorded by ARIA-AT) Date: 2025-10-26
SHOULD 0/13 1 severe side effect
macOS 14.7 Safari 18.0.1 VoiceOver 14.7 31/34 MUST Fail
Screen reader: VoiceOver for macOS 14.7 Browser: Safari 18.0.1 OS: macOS 14.7 Device: Mac (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 31/34 2 severe side effects 1 moderate side effect
macOS 14.6.1 Safari 17 VoiceOver 14.6.1 0/13 SHOULD Fail
Screen reader: VoiceOver for macOS 14.6.1 Browser: Safari 17 OS: macOS 14.6.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-10-26
SHOULD 0/13 1 severe side effect
macOS 13.7 Safari 18.0.1 VoiceOver 13.7 0/13 SHOULD Fail
Screen reader: VoiceOver for macOS 13.7 Browser: Safari 18.0.1 OS: macOS 13.7 Device: Mac (model not recorded by ARIA-AT) Date: 2025-02-13
SHOULD 0/13 1 severe side effect
macOS 13.7 Safari 17 VoiceOver 13.7 0/11 SHOULD Fail
Screen reader: VoiceOver for macOS 13.7 Browser: Safari 17 OS: macOS 13.7 Device: Mac (model not recorded by ARIA-AT) Date: 2025-02-13
SHOULD 0/11 1 severe side effect

NVDA

4 results: 2 partial, 2 fail

Windows

Windows Chrome 139 NVDA 2025.1.2 74/78 MUST Fail
Screen reader: NVDA 2025.1.2 Browser: Chrome 139 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-11-04
MUST 74/78 3 moderate side effects
Windows Chrome 130.0.6723.59 NVDA 2023.3 15/16 SHOULD Partial
Screen reader: NVDA 2023.3 Browser: Chrome 130.0.6723.59 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-02-13
SHOULD 15/16
Windows Chrome 129.0.6668.90 NVDA 2023.3 46/48 MUST Fail
Screen reader: NVDA 2023.3 Browser: Chrome 129.0.6668.90 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 46/48 SHOULD 14/15
Windows Chrome 127.0.6533.100 NVDA 2024.1 15/16 SHOULD Partial
Screen reader: NVDA 2024.1 Browser: Chrome 127.0.6533.100 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-26
SHOULD 15/16

JAWS

9 results: 4 pass, 5 partial

Windows

Windows Chrome 148 JAWS 2025.2508.120 6/16 SHOULD Partial
Screen reader: JAWS 2025.2508.120 Browser: Chrome 148 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-06-02
SHOULD 6/16
Windows Chrome 143 JAWS 2025.2508.120 43/43 MUST Partial
Screen reader: JAWS 2025.2508.120 Browser: Chrome 143 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-05-06
MUST 43/43 SHOULD 12/31
Windows Chrome 142 JAWS 2025.2508.120 48/48 MUST Pass
Screen reader: JAWS 2025.2508.120 Browser: Chrome 142 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-11-03
MUST 48/48
Windows Chrome 139 JAWS 2025.2508.120 35/35 MUST Pass
Screen reader: JAWS 2025.2508.120 Browser: Chrome 139 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-11-04
MUST 35/35
Windows Chrome 139 JAWS 2025.2506.170 43/43 MUST Pass
Screen reader: JAWS 2025.2506.170 Browser: Chrome 139 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-08-07
MUST 43/43
Windows Chrome 131 JAWS 2025 7/16 SHOULD Partial
Screen reader: JAWS 2025 Browser: Chrome 131 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-02-13
SHOULD 7/16
Windows Chrome 130 JAWS 2024.2409.2 48/48 MUST Pass
Screen reader: JAWS 2024.2409.2 Browser: Chrome 130 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 48/48
Windows Chrome 130 JAWS 2024.2406.121 6/16 SHOULD Partial
Screen reader: JAWS 2024.2406.121 Browser: Chrome 130 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-26
SHOULD 6/16
Windows Chrome 129 JAWS 2024.2409.2 7/15 SHOULD Partial
Screen reader: JAWS 2024.2409.2 Browser: Chrome 129 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-02-13
SHOULD 7/15