Expected behavior and spec guidance
The button should announce "Close settings dialog" with button role, overriding "X".
- WAI-ARIA 1.2: aria-label property (6.6.1 aria-label)
- Accessible Name and Description Computation 1.2: Step 2C (4.3.1 Step 2C (aria-label))
Spec requirements (RFC 2119)
View full feature report foraria-label - MUST Convey expected accessible text "Close settings dialog" on the target
- MUST Do not announce overridden or prohibited phrase "X" on the target
- SHOULD Convey expected semantics/role "button"
- MUST Cause no severe negative side effects
Test case
<button type="button" aria-label="Close settings dialog">X</button> Screen reader outcomes
VoiceOver
6 results: 4 pass, 2 untestedmacOS
macOS 26.3.1 (arm64) Google Chrome 157.0.8103.79 3/3 MUST Pass
Close settings dialog button is in the VoiceOver cursor - 1.
VO-AreaTopClose settings dialog button is in the VoiceOver cursorItem text: Close settings dialog button
- 2.
VO-Right ArrowClose settings dialog button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTCause 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
Close settings dialog button is in the VoiceOver cursor - 1.
VO-AreaTopClose settings dialog button is in the VoiceOver cursorItem text: Close settings dialog button
- 2.
VO-Right ArrowClose settings dialog button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTCause 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
Close settings dialog button is in the VoiceOver cursor - 1.
VO-AreaTopClose settings dialog button is in the VoiceOver cursorItem text: Close settings dialog button
- 2.
VO-Right ArrowClose settings dialog button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTCause 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
Close settings dialog button is in the VoiceOver cursor - 1.
VO-AreaTopClose settings dialog button is in the VoiceOver cursorItem text: Close settings dialog button
- 2.
VO-Right ArrowClose settings dialog button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog button is in the VoiceOver cursorPassed - MUSTCause 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
Not yet tested on iOS.
iOS (Not tested) WKWebView (Not tested) WebView VoiceOver iOS Untested
Not yet tested on iOS.
TalkBack
3 results: 2 pass, 1 untestedAndroid
Android 13 (API 33) Google Chrome 109.0.5414.123 TalkBack 14.2.0.618048417 3/3 MUST Pass
Close settings dialog. button - 1.
TalkBack swipe-rightClose settings dialog. button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog. buttonPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog. buttonPassed - MUSTCause 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
Close settings dialog. button - 1.
TalkBack swipe-rightClose settings dialog. button
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
Close settings dialog. buttonPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
Close settings dialog. buttonPassed - MUSTCause 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
Not yet tested on Android Firefox.
Simulated screen reader
1 result: passmacOS
macOS 26.3.1 (arm64) Google Chrome (Headless) 157.0.8103.79 Simulated screen reader 0.32.1 3/3 MUST Pass
button, Close settings dialog - 1.
virtual.walkbutton, Close settings dialogRole: button · Name: Close settings dialog
- 2.
virtual.walkXRole: text · Name: X
- 3.
virtual.walkend of button, Close settings dialogRole: button · Name: Close settings dialog
- 4.
virtual.walkend of documentRole: document
- MUSTConvey expected accessible text "Close settings dialog" on the target
Matched:
button, Close settings dialogPassed - MUSTDo not announce overridden or prohibited phrase "X" on the targetPassed
- SHOULDConvey expected semantics/role "button"
Matched:
button, Close settings dialogPassed - MUSTCause no severe negative side effects
No unexpected chrome, focus trap, or spurious speech observed.
Passed
W3C ARIA-AT data
Compare all environments foraria-label
Reports from the W3C ARIA-AT Community Group covering aria-label.