-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(access-name): get name from header elements (#4097)
* fix(dialog-name): get name from header elements * Never get content from elements with a value * Fix failing test * Grrr, prettier * More tests * Update test/testutils.js
- Loading branch information
1 parent
53c7ee4
commit fbe99bf
Showing
11 changed files
with
2,255 additions
and
1,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
const unsupported = { | ||
accessibleNameFromFieldValue: ['combobox', 'listbox', 'progressbar'] | ||
export default { | ||
// Element's who's value is not consistently picked up in the accessible name | ||
// Supported in Chrome 114, Firefox 115, but not Safari 16.5: | ||
// <input aria-labelledby="lbl"> | ||
// <div id="lbl" role="progressbar" aria-valuenow="23"></div> | ||
accessibleNameFromFieldValue: ['progressbar'] | ||
}; | ||
|
||
export default unsupported; |
Oops, something went wrong.