a11ied

Source on GitHub

a11ied
Menu

Reference

aria-labelledby: Single ID overrides button text

Tests whether a button with aria-labelledby pointing to a single external heading announces the referenced heading text instead of its inner text.

ARIA aria-labelledby Accessible Naming Read / Walk

Expected behavior and spec guidance

The heading is announced as "Billing address", and the button is announced with accessible name "Billing address" (role button), completely overriding its inner text "Edit".

  • MUST Convey "Billing address" across at least 2 elements
  • MUST Do not announce overridden or prohibited phrase "Edit" on the target
  • 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 Billing address button
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Billing address heading level 2 is in the VoiceOver cursor

    Item text: Billing address heading level 2

  2. 2.
    VO-Right Arrow
    Billing address button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address heading level 2 is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address 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 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 Billing address button
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Billing address heading level 2 is in the VoiceOver cursor

    Item text: Billing address heading level 2

  2. 2.
    VO-Right Arrow
    Billing address button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address heading level 2 is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address 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 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 Billing address button
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Billing address heading level 2 is in the VoiceOver cursor

    Item text: Billing address heading level 2

  2. 2.
    VO-Right Arrow
    Billing address button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address heading level 2 is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address 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 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 Billing address button
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Billing address heading level 2 is in the VoiceOver cursor

    Item text: Billing address heading level 2

  2. 2.
    VO-Right Arrow
    Billing address button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address heading level 2 is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address 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 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 Billing address. button
Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    Billing address. heading 2
  2. 2.
    TalkBack swipe-right
    Billing address. button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address. heading 2

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address. 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 Billing address. button
Screen reader log 2 announcements
  1. 1.
    TalkBack swipe-right
    Billing address. heading 2
  2. 2.
    TalkBack swipe-right
    Billing address. button
Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: Billing address. heading 2

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: Billing address. 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, Billing address
Screen reader log 5 announcements
  1. 1.
    virtual.walk
    heading, Billing address, level 2

    Role: heading · Name: Billing address

  2. 2.
    virtual.walk
    button, Billing address

    Role: button · Name: Billing address

  3. 3.
    virtual.walk
    Edit

    Role: text · Name: Edit

  4. 4.
    virtual.walk
    end of button, Billing address

    Role: button · Name: Billing address

  5. 5.
    virtual.walk
    end of document

    Role: document

Spec assertions (4) 3/3 MUST · 1/1 SHOULD
  • MUST
    Convey "Billing address" across at least 2 elements

    Matched: heading, Billing address, level 2

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Edit" on the target
    Passed
  • SHOULD
    Convey expected semantics/role "button"

    Matched: button, Billing address

    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-labelledby.

VoiceOver

13 results: 4 pass, 9 fail

macOS

macOS 26 Safari 26 VoiceOver 26 5/6 MUST Fail
Screen reader: VoiceOver for macOS 26 Browser: Safari 26 OS: macOS 26 Device: Mac (model not recorded by ARIA-AT) Date: 2026-07-29
MUST 5/6
macOS 15.6.1 Safari 26.2 VoiceOver 15.6.1 4/12 MUST Fail
Screen reader: VoiceOver for macOS 15.6.1 Browser: Safari 26.2 OS: macOS 15.6.1 Device: Mac (model not recorded by ARIA-AT) Date: 2026-03-18
MUST 4/12
macOS 15.6.1 Safari 18.6 VoiceOver 15.6.1 1/2 MUST Fail
Screen reader: VoiceOver for macOS 15.6.1 Browser: Safari 18.6 OS: macOS 15.6.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-11-03
MUST 1/2 MAY 6/15 6 severe side effects
macOS 15.6 Safari 18.6 VoiceOver 15.6 9/12 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-09-04
MUST 9/12 2 severe side effects
macOS 15.4.1 Safari 18.4 VoiceOver 15.4.1 8/12 MUST Fail
Screen reader: VoiceOver for macOS 15.4.1 Browser: Safari 18.4 OS: macOS 15.4.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-05-01
MUST 8/12 SHOULD 0/4 2 severe side effects
macOS 15.3.1 Safari 18.3 VoiceOver 15.3.1 8/12 MUST Fail
Screen reader: VoiceOver for macOS 15.3.1 Browser: Safari 18.3 OS: macOS 15.3.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-10-26
MUST 8/12 SHOULD 0/4 2 severe side effects
macOS 15.3.1 Safari 18 VoiceOver 15.3.1 15/20 MUST Fail
Screen reader: VoiceOver for macOS 15.3.1 Browser: Safari 18 OS: macOS 15.3.1 Device: Mac (model not recorded by ARIA-AT) Date: 2025-11-03
MUST 15/20 SHOULD 0/4 3 severe side effects
macOS 15.0 Safari 26 VoiceOver 15.0 5/7 MAY Pass
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
MAY 5/7
macOS 15.0 Safari 18.6 VoiceOver 15.0 7/8 MUST Fail
Screen reader: VoiceOver for macOS 15.0 Browser: Safari 18.6 OS: macOS 15.0 Device: Mac (model not recorded by ARIA-AT) Date: 2025-10-08
MUST 7/8 1 severe side effect
macOS 14.6.1 Safari 17 VoiceOver 14.6.1 0/7 MAY Pass
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
MAY 0/7
macOS 14.5 Safari 17.5 VoiceOver 14.5 7/8 MUST Fail
Screen reader: VoiceOver for macOS 14.5 Browser: Safari 17.5 OS: macOS 14.5 Device: Mac (model not recorded by ARIA-AT) Date: 2024-12-11
MUST 7/8 1 severe side effect
macOS 13.7 Safari 18.0.1 VoiceOver 13.7 4/7 MAY Pass
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
MAY 4/7
macOS 13.7 Safari 17 VoiceOver 13.7 0/7 MAY Pass
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
MAY 0/7

NVDA

13 results: 4 pass, 9 fail

Windows

Windows Chrome 146 NVDA 2025.2 6/8 MUST Fail
Screen reader: NVDA 2025.2 Browser: Chrome 146 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-07-29
MUST 6/8
Windows Chrome 142 NVDA 2025.3 8/18 MUST Fail
Screen reader: NVDA 2025.3 Browser: Chrome 142 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-12-19
MUST 8/18
Windows Chrome 141 NVDA 2025.3 2/3 MUST Fail
Screen reader: NVDA 2025.3 Browser: Chrome 141 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-22
MUST 2/3 MAY 4/17
Windows Chrome 139 NVDA 2025.1.2 5/5 MUST Pass
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-08-13
MUST 5/5
Windows Chrome 138 NVDA 2025.1.2 7/12 MUST Fail
Screen reader: NVDA 2025.1.2 Browser: Chrome 138 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-08-08
MUST 7/12 2 severe side effects
Windows Chrome 135 NVDA 2024.4.2 18/20 MUST Fail
Screen reader: NVDA 2024.4.2 Browser: Chrome 135 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-07-29
MUST 18/20 SHOULD 0/4 4 severe side effects
Windows Chrome 134 NVDA 2024.4 7/12 MUST Fail
Screen reader: NVDA 2024.4 Browser: Chrome 134 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-03-26
MUST 7/12 2 severe side effects
Windows Chrome 134 NVDA 2023.3 18/20 MUST Fail
Screen reader: NVDA 2023.3 Browser: Chrome 134 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-26
MUST 18/20 SHOULD 0/4 4 severe side effects
Windows Chrome 133.0.6943.60 NVDA 2023.3 18/20 MUST Fail
Screen reader: NVDA 2023.3 Browser: Chrome 133.0.6943.60 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 18/20 SHOULD 0/4
Windows Chrome 130.0.6723.59 NVDA 2023.3 0/8 MAY Pass
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
MAY 0/8
Windows Chrome 129.0.6668.90 NVDA 2023.3 0/10 MAY Pass
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-02-13
MAY 0/10
Windows Chrome 127.0.6533.100 NVDA 2024.1 0/8 MAY Pass
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
MAY 0/8
Windows Chrome 126 NVDA 2024.1 7/12 MUST Fail
Screen reader: NVDA 2024.1 Browser: Chrome 126 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2024-12-11
MUST 7/12 2 severe side effects

JAWS

15 results: 10 pass, 1 partial, 4 fail

Windows

Windows Chrome 150 JAWS 2025.2508.120 6/8 MUST Fail
Screen reader: JAWS 2025.2508.120 Browser: Chrome 150 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2026-07-29
MUST 6/8
Windows Chrome 148 JAWS 2025.2508.120 40/40 MUST Pass
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
MUST 40/40 SHOULD 8/8 MAY 8/8
Windows Chrome 143 JAWS 2025.2508.120 38/41 MUST Fail
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 38/41 MAY 16/18
Windows Chrome 142 JAWS 2025.2508.120 14/18 MUST Fail
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-12-19
MUST 14/18
Windows Chrome 141 JAWS 2025.2508.120 3/3 MUST Partial
Screen reader: JAWS 2025.2508.120 Browser: Chrome 141 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-30
MUST 3/3 MAY 14/17 2 moderate side effects
Windows Chrome 139 JAWS 2025.2506.170 14/17 MUST Fail
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-19
MUST 14/17
Windows Chrome 137 JAWS 2025.2505.43 20/20 MUST Pass
Screen reader: JAWS 2025.2505.43 Browser: Chrome 137 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 20/20 SHOULD 4/4
Windows Chrome 135 JAWS 2025.2504.89 20/20 MUST Pass
Screen reader: JAWS 2025.2504.89 Browser: Chrome 135 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-04-23
MUST 20/20 SHOULD 4/4
Windows Chrome 135 JAWS 2025.2503.39 12/12 MUST Pass
Screen reader: JAWS 2025.2503.39 Browser: Chrome 135 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-07-24
MUST 12/12
Windows Chrome 134 JAWS 2025.2503.39 32/32 MUST Pass
Screen reader: JAWS 2025.2503.39 Browser: Chrome 134 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-27
MUST 32/32 SHOULD 4/4
Windows Chrome 132 JAWS 2025.2412.50 20/20 MUST Pass
Screen reader: JAWS 2025.2412.50 Browser: Chrome 132 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2025-10-26
MUST 20/20 SHOULD 4/4
Windows Chrome 131 JAWS 2025 8/8 MAY Pass
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
MAY 8/8
Windows Chrome 130 JAWS 2024.2406.121 8/8 MAY Pass
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
MAY 8/8
Windows Chrome 129 JAWS 2024.2409.2 8/10 MAY Pass
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
MAY 8/10
Windows Chrome 126 JAWS 2024.2405.83 12/12 MUST Pass
Screen reader: JAWS 2024.2405.83 Browser: Chrome 126 OS: Windows Not recorded by ARIA-AT Device: PC (model not recorded by ARIA-AT) Date: 2024-12-11
MUST 12/12