Test: HTML button name change test
Screen Reader support level: unknown
Voice Control support level: unknown
On this page
About this test
This test contains a set of basic html buttons that changes their names after activation to convey a change in state. Examples include show/hide buttons and a toggle-like button (play/pause). Automatically conveying name changes after user action is important because a screen reader user expects to hear a result. If they hear silence instead, they may be left wondering if their action worked or not.
There is some support for this behavior in web standards, however it is not robust. The name of an element is considered a property (not a state), and is thus less likely to change than a state. As such, screen readers are less likely to convey property changes than state changes. Core-AAM provides mappings for property change events including name changes via aria-label
and aria-labelledby
. However, HTML does not have an equivalent mapping for inner-text changes; see HTML-AMM #291.
Because of the poor support and weak standards for automatically conveying name changes, it is usually better to use attributes to convey state changes (think aria-expanded
). However, in some cases, it may be desirable or even necessary to change the name. If this is the case, consider other techniques to ensure that the new name is conveyed, such as using aria-live
or sending keyboard focus to a hidden div
and then back after a slight delay.
Submit new test resultsAge of results
Results in this test range from 3 years ago to 4 years ago. See detailed information about test dates and versions for more information.
Caution
Failing or partial results may be out of date. The oldest result is from 4 years ago. Consider running this test and contributing results.
Test HTML
Open the test case HTML fileHTML source is too long to display here.
Summary of Screen Reader support by expectation
* means that some support is hidden behind settings
Summary of Voice Control support by expectation
aria-label attributeExpectation | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access |
---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome |
---|
Not applicable |
aria-labelledby attributeExpectation | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access |
---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome |
---|
Not applicable |
button elementExpectation | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access |
---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome |
---|
Not applicable |
* means that some support is hidden behind settings
Summary of Keyboard support by expectation
aria-label attributeExpectation | Windows Keyboard | Mac Keyboard | iOS Keyboard | Android Keyboard |
---|
Chrome | Firefox | Edge | Chrome | Safari | Safari | Chrome |
---|
Not applicable |
aria-labelledby attributeExpectation | Windows Keyboard | Mac Keyboard | iOS Keyboard | Android Keyboard |
---|
Chrome | Firefox | Edge | Chrome | Safari | Safari | Chrome |
---|
Not applicable |
button elementExpectation | Windows Keyboard | Mac Keyboard | iOS Keyboard | Android Keyboard |
---|
Chrome | Firefox | Edge | Chrome | Safari | Safari | Chrome |
---|
Not applicable |
* means that some support is hidden behind settings
Detailed support results by expectation
This expectation is applied to the button element. Expectations and results might differ when the the feature is applied to different roles.
This expectation is from the aria-label attribute feature.
Rationale:
The user needs to know that that the name of a control has changed after interacting with it. This may be to convey a new purpose or to convey a state change which is provided by the name.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: SHOULD
- Voice Control: NA
Grading method:
All of the listed commands must pass for the expectation to pass.
Notes:
This expectation is only for when the element with the attribute is focused by a screen reader (either keyboard focus or virtual focus). It is not meant to act like a live region.
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | Chrome | not applicable | - |
JAWS | Chrome | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch JAWS and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Edge | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch JAWS and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch JAWS and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Narrator | Edge | yes | - Result: (pass)
Test Case: Use Enter or Space Bar (Activate Item (primary action)) on the target of `#example-2-target`- Launch Narrator and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space Bar (Activate Item (primary action))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide, button"
|
NVDA | Chrome | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch NVDA and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
NVDA | Edge | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch NVDA and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
NVDA | Firefox | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch NVDA and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
Orca | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch Orca and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
TalkBack | Chrome | none | - Result: (fail)
Test Case: Use double tap (or alt+enter) (Activate button) on the target of `#example-2-target`- Launch TalkBack and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
double tap (or alt+enter) (Activate button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Voice Access (Android) | Chrome | not applicable | - |
Voice Control (iOS) | Safari | not applicable | - |
Voice Control (MacOS) | Safari | not applicable | - |
VoiceOver (iOS) | Safari | yes | - Result: (pass)
Test Case: Use Double tap (Activate Button) on the target of `#example-2-target`- Launch VoiceOver (iOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Double tap (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
VoiceOver (macOS) | Safari | partial | - Result: (pass)
Test Case: Use VO + space (Activate Button) on the target of `#example-2-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
VO + space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "press, hide button"
- Result: (fail)
Test Case: Use enter (Activate control (enter)) on the target of `#example-2-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
enter (Activate control (enter))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
|
Windows Speech Recognition | Edge | not applicable | - |
Windows Speech Recognition | Chrome | not applicable | - |
Windows Voice Access | Edge | not applicable | - |
Windows Voice Access | Chrome | not applicable | - |
Windows Keyboard | Chrome | not applicable | - |
Windows Keyboard | Firefox | not applicable | - |
Windows Keyboard | Edge | not applicable | - |
Mac Keyboard | Chrome | not applicable | - |
Mac Keyboard | Safari | not applicable | - |
iOS Keyboard | Safari | not applicable | - |
Android Keyboard | Chrome | not applicable | - |
Extended Support for: aria-label attribute: convey name changes when in focus
These are less common combinations
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | IE | not applicable | - |
Dragon Naturally Speaking | Firefox | not applicable | - |
JAWS 2020.2006.12 | IE 11 | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-2-target`- Launch JAWS and IE.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-2-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
|
Narrator | Firefox | unknown | - |
Narrator | Chrome | unknown | - |
Narrator | IE | unknown | - |
NVDA | IE | unknown | - |
TalkBack | Firefox | unknown | - |
Voice Access (Android) | Firefox | not applicable | - |
VoiceOver (iOS) | Chrome | unknown | - |
VoiceOver (macOS) | Chrome | unknown | - |
VoiceOver (macOS) | Firefox | unknown | - |
Orca | Chrome | unknown | - |
Voice Control (MacOS) | Chrome | not applicable | - |
Voice Control (MacOS) | Firefox | not applicable | - |
Mac Keyboard | Firefox | not applicable | - |
Android Keyboard | Firefox | not applicable | - |
Back to top This expectation is applied to the button element. Expectations and results might differ when the the feature is applied to different roles.
This expectation references the button element. Expectations and results might differ when the the feature references different roles.
This expectation is from the aria-labelledby attribute feature.
Rationale:
The user needs to know that that the name of a control has changed after interacting with it. This may be to convey a new purpose or to convey a state change which is provided by the name.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: SHOULD
- Voice Control: NA
Grading method:
All of the listed commands must pass for the expectation to pass.
Notes:
This expectation is only for when the element with the attribute is focused by a screen reader (either keyboard focus or virtual focus). It is not meant to act like a live region.
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | Chrome | not applicable | - |
JAWS | Chrome | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch JAWS and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Edge | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch JAWS and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch JAWS and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Narrator | Edge | yes | - Result: (pass)
Test Case: Use Enter or Space Bar (Activate Item (primary action)) on the target of `#example-3-target`- Launch Narrator and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space Bar (Activate Item (primary action))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide, button"
|
NVDA | Chrome | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch NVDA and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
NVDA | Edge | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch NVDA and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
NVDA | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch NVDA and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Orca | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch Orca and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
TalkBack | Chrome | none | - Result: (fail)
Test Case: Use double tap (or alt+enter) (Activate button) on the target of `#example-3-target`- Launch TalkBack and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
double tap (or alt+enter) (Activate button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Voice Access (Android) | Chrome | not applicable | - |
Voice Control (iOS) | Safari | not applicable | - |
Voice Control (MacOS) | Safari | not applicable | - |
VoiceOver (iOS) | Safari | yes | - Result: (pass)
Test Case: Use Double tap (Activate Button) on the target of `#example-3-target`- Launch VoiceOver (iOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Double tap (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
VoiceOver (macOS) | Safari | partial | - Result: (pass)
Test Case: Use VO + space (Activate Button) on the target of `#example-3-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
VO + space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "press, hide button"
- Result: (fail)
Test Case: Use enter (Activate control (enter)) on the target of `#example-3-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
enter (Activate control (enter))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
|
Windows Speech Recognition | Edge | not applicable | - |
Windows Speech Recognition | Chrome | not applicable | - |
Windows Voice Access | Edge | not applicable | - |
Windows Voice Access | Chrome | not applicable | - |
Windows Keyboard | Chrome | not applicable | - |
Windows Keyboard | Firefox | not applicable | - |
Windows Keyboard | Edge | not applicable | - |
Mac Keyboard | Chrome | not applicable | - |
Mac Keyboard | Safari | not applicable | - |
iOS Keyboard | Safari | not applicable | - |
Android Keyboard | Chrome | not applicable | - |
Extended Support for: aria-labelledby attribute: convey name changes when in focus
These are less common combinations
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | IE | not applicable | - |
Dragon Naturally Speaking | Firefox | not applicable | - |
JAWS 2020.2006.12 | IE 11 | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-3-target`- Launch JAWS and IE.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-3-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide button"
|
Narrator | Firefox | unknown | - |
Narrator | Chrome | unknown | - |
Narrator | IE | unknown | - |
NVDA | IE | unknown | - |
TalkBack | Firefox | unknown | - |
Voice Access (Android) | Firefox | not applicable | - |
VoiceOver (iOS) | Chrome | unknown | - |
VoiceOver (macOS) | Chrome | unknown | - |
VoiceOver (macOS) | Firefox | unknown | - |
Orca | Chrome | unknown | - |
Voice Control (MacOS) | Chrome | not applicable | - |
Voice Control (MacOS) | Firefox | not applicable | - |
Mac Keyboard | Firefox | not applicable | - |
Android Keyboard | Firefox | not applicable | - |
Back to topThis expectation is from the button element feature.
Rationale:
The user needs to know that that the name of a control has changed after interacting with it. This may be to convey a new purpose or to convey a state change which is provided by the name.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MAY
- Voice Control: NA
Grading method:
All of the listed commands must pass for the expectation to pass.
Notes:
This expectation is only for when the button is focused by a screen reader (either keyboard focus or virtual focus). It is not meant to act like a live region.
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | Chrome | not applicable | - |
JAWS | Chrome | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch JAWS and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Edge | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch JAWS and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
JAWS | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch JAWS and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Narrator | Edge | yes | - Result: (pass)
Test Case: Use Enter or Space Bar (Activate Item (primary action)) on the target of `#example-1-target`- Launch Narrator and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space Bar (Activate Item (primary action))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide, button"
|
NVDA | Chrome | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch NVDA and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
NVDA | Edge | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch NVDA and Edge.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
NVDA | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch NVDA and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Orca | Firefox | none | - Result: (fail)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch Orca and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
TalkBack | Chrome | none | - Result: (fail)
Test Case: Use double tap (or alt+enter) (Activate button) on the target of `#example-1-target`- Launch TalkBack and Chrome.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
double tap (or alt+enter) (Activate button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
Grading Note: There is no known/documented support. There may still be support for this expectation, but it is undocumented. If this is the case, please report this issue. |
Voice Access (Android) | Chrome | not applicable | - |
Voice Control (iOS) | Safari | not applicable | - |
Voice Control (MacOS) | Safari | not applicable | - |
VoiceOver (iOS) | Safari | yes | - Result: (pass)
Test Case: Use Double tap (Activate Button) on the target of `#example-1-target`- Launch VoiceOver (iOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Double tap (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide"
|
VoiceOver (macOS) | Safari | partial | - Result: (pass)
Test Case: Use VO + space (Activate Button) on the target of `#example-1-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
VO + space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "press, hide button"
- Result: (fail)
Test Case: Use enter (Activate control (enter)) on the target of `#example-1-target`- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
enter (Activate control (enter))- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: (name change not conveyed)
|
Windows Speech Recognition | Edge | not applicable | - |
Windows Speech Recognition | Chrome | not applicable | - |
Windows Voice Access | Edge | not applicable | - |
Windows Voice Access | Chrome | not applicable | - |
Windows Keyboard | Chrome | not applicable | - |
Windows Keyboard | Firefox | not applicable | - |
Windows Keyboard | Edge | not applicable | - |
Mac Keyboard | Chrome | not applicable | - |
Mac Keyboard | Safari | not applicable | - |
iOS Keyboard | Safari | not applicable | - |
Android Keyboard | Chrome | not applicable | - |
Extended Support for: button element: convey inner-text name changes when in focus
These are less common combinations
AT | Browser | Has Support | Output |
---|
Dragon Naturally Speaking | IE | not applicable | - |
Dragon Naturally Speaking | Firefox | not applicable | - |
JAWS 2020.2006.12 | IE 11 | yes | - Result: (pass)
Test Case: Use Enter or Space (Activate Button) on the target of `#example-1-target`- Launch JAWS and IE.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
#example-1-target - If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: target
- Keyboard focus is: target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
Enter or Space (Activate Button)- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: "hide button"
|
Narrator | Firefox | unknown | - |
Narrator | Chrome | unknown | - |
Narrator | IE | unknown | - |
NVDA | IE | unknown | - |
TalkBack | Firefox | unknown | - |
Voice Access (Android) | Firefox | not applicable | - |
VoiceOver (iOS) | Chrome | unknown | - |
VoiceOver (macOS) | Chrome | unknown | - |
VoiceOver (macOS) | Firefox | unknown | - |
Orca | Chrome | unknown | - |
Voice Control (MacOS) | Chrome | not applicable | - |
Voice Control (MacOS) | Firefox | not applicable | - |
Mac Keyboard | Firefox | not applicable | - |
Android Keyboard | Firefox | not applicable | - |
Back to topDates and Versions of tested combinations
AT | AT Version | Browser | Browser version | OS version | Date tested |
---|
JAWS | 2021.2107.12 | Chrome | 92 | Windows 10 version 21h1 | 2021-07-30 |
JAWS | 2021.2107.12 | Edge | 92 | Windows 10 version 21h1 | 2021-07-30 |
JAWS | 2020.2006.12 | Firefox | 79 | 2004 | 2020-08-15 |
Narrator | 2004 | Edge | 84 | 2004 | 2020-08-15 |
NVDA | 2021.1 | Chrome | 92 | Windows 10 version 21h1 | 2021-07-30 |
NVDA | 2021.1 | Edge | 92 | Windows 10 version 21h1 | 2021-07-30 |
NVDA | 2019.1.1 | Firefox | 79 | 2004 | 2020-08-15 |
Orca | 3.36.1 | Firefox | 79 | Ubuntu 20.04 | 2020-08-15 |
TalkBack | 8.2 | Chrome | 84 | 7 | 2020-08-15 |
VoiceOver (iOS) | 13.6 | Safari | 13.6 | 13.6 | 2020-08-15 |
VoiceOver (macOS) | 10.15.6 | Safari | 13.1.2 | 10.15.6 | 2020-08-15 |
History
- 2020-08-15 test created
- 2021-07-30 Added Narrator results for NVDA and JAWS, updated NVDA+Chrome results.