a11ied

Source on GitHub

a11ied
Menu

Reference

aria-expanded: Announces collapsed state for false

Tests whether a disclosure button with aria-expanded="false" announces its collapsed state alongside its label and button role.

ARIA aria-expanded Widget States Read / Walk

Expected behavior and spec guidance

The button should announce "Account menu", role button, and its collapsed state ("collapsed").

  • MUST Convey expected accessible text "Account menu" on the target
  • MUST Convey required ARIA state "collapsed"
  • SHOULD Convey expected semantics/role "button"
  • 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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output Account menu collapsed button is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Account menu collapsed button is in the VoiceOver cursor

    Item text: Account menu collapsed button

  2. 2.
    VO-Right Arrow
    Account menu collapsed button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output Account menu collapsed button is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Account menu collapsed button is in the VoiceOver cursor

    Item text: Account menu collapsed button

  2. 2.
    VO-Right Arrow
    Account menu collapsed button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output Account menu collapsed button is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Account menu collapsed button is in the VoiceOver cursor

    Item text: Account menu collapsed button

  2. 2.
    VO-Right Arrow
    Account menu collapsed button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output Account menu collapsed button is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Account menu collapsed button is in the VoiceOver cursor

    Item text: Account menu collapsed button

  2. 2.
    VO-Right Arrow
    Account menu collapsed button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Account menu collapsed button is in the VoiceOver cursor

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output collapsed. Account menu. button
Screen reader log 1 announcement
  1. 1.
    TalkBack swipe-right
    collapsed. Account menu. button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: collapsed. Account menu. button

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: collapsed. Account menu. button

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: collapsed. Account menu. button

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output collapsed. Account menu. button
Screen reader log 1 announcement
  1. 1.
    TalkBack swipe-right
    collapsed. Account menu. button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: collapsed. Account menu. button

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: collapsed. Account menu. button

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: collapsed. Account menu. button

    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 3/3 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 3/3 SHOULD 1/1 0 side effects
Key output button, Account menu, not expanded
Screen reader log 2 announcements
  1. 1.
    virtual.walk
    button, Account menu, not expanded

    Role: button · Name: Account menu

  2. 2.
    virtual.walk
    end of document

    Role: document

Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey expected accessible text "Account menu" on the target

    Matched: button, Account menu, not expanded

    Passed
  • MUST
    Convey required ARIA state "collapsed"

    Matched: button, Account menu, not expanded

    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: button, Account menu, not 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