Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aria live announcements A11y improvements (#16197)
Feature (code-block): Introduced screen reader announcements for entering or exiting code blocks in the editor content. Closes #16053. Feature (image, list, ui): Introduced screen reader announcements for various actions and events in the editor. Other (ui): Refactored the `AriaLiveAnnouncer` utility to use the `aria-relevant` attribute and make concurrent announcements queued by screen readers. MINOR BREAKING CHANGE (ui): The region name argument of the `AriaLiveAnnouncer#announce()` method has been dropped. Please check out the latest API documentation for more information. --------- Co-authored-by: Aleksander Nowodzinski <a.nowodzinski@cksource.com>
- Loading branch information
Showing
17 changed files
with
840 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"Insert code block": "A label of the button that allows inserting a new code block into the editor content.", | ||
"Plain text": "A language of the code block in the editor content when no specific programming language is associated with it.", | ||
"Leaving %0 code snippet": "Assistive technologies label for leaving the code block with a specified programming language. Example: 'Leaving JavaScript code snippet'", | ||
"Entering %0 code snippet": "Assistive technologies label for entering the code block with a specified programming language. Example: 'Entering JavaScript code snippet'", | ||
"Entering code snippet": "Assistive technologies label for entering the code block with unspecified programming language.", | ||
"Leaving code snippet": "Assistive technologies label for leaving the code block with unspecified programming language.", | ||
"Code block": "The accessible label of the menu bar button that inserts a code block into editor content." | ||
} |
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
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
Oops, something went wrong.