a11ied

Source on GitHub

a11ied
Menu

Reference

aria-hidden: Hides visible content from screen reader

Tests whether an element with aria-hidden="true" is excluded from screen reader cursor navigation while remaining visually rendered.

ARIA aria-hidden Tree Inclusion Read / Walk

Expected behavior and spec guidance

The screen reader should read "Visible sentence" and skip "Hidden decorative text" completely.

Spec requirements (RFC 2119)

View full feature report for aria-hidden
  • MUST Convey expected accessible text "Visible sentence" on the target
  • MUST Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
  • 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 0 side effects
Key output Visible sentence text is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Visible sentence text is in the VoiceOver cursor

    Item text: Visible sentence

  2. 2.
    VO-Right Arrow
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence text is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence text is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Visible sentence text is in the VoiceOver cursor

    Item text: Visible sentence

  2. 2.
    VO-Right Arrow
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence text is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence text is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Visible sentence text is in the VoiceOver cursor

    Item text: Visible sentence

  2. 2.
    VO-Right Arrow
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence text is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence text is in the VoiceOver cursor
Screen reader log 2 announcements
  1. 1.
    VO-AreaTop
    Visible sentence text is in the VoiceOver cursor

    Item text: Visible sentence

  2. 2.
    VO-Right Arrow
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence text is in the VoiceOver cursor

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence
Screen reader log 1 announcement
  1. 1.
    TalkBack swipe-right
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence
Screen reader log 1 announcement
  1. 1.
    TalkBack swipe-right
    Visible sentence
Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    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 0 side effects
Key output Visible sentence
Screen reader log 4 announcements
  1. 1.
    virtual.walk
    paragraph

    Role: paragraph

  2. 2.
    virtual.walk
    Visible sentence

    Role: text · Name: Visible sentence

  3. 3.
    virtual.walk
    end of paragraph

    Role: paragraph

  4. 4.
    virtual.walk
    end of document

    Role: document

Spec assertions (3) 3/3 MUST
  • MUST
    Convey expected accessible text "Visible sentence" on the target

    Matched: Visible sentence

    Passed
  • MUST
    Do not announce overridden or prohibited phrase "Hidden decorative text" on the target
    Passed
  • MUST
    Cause no severe negative side effects

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

    Passed