This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
a11y: add announcement region to app and announce copy/deletion #2643
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
45a95bc
add announcements to table view
beyackle 25bce86
linter stuff
beyackle b19e38a
Merge branch 'master' into beyackle/tableAnnounce
beyackle 7d65597
Merge branch 'master' into beyackle/tableAnnounce
beyackle 6279db9
use global context for announcement state
beyackle ecb314a
Merge branch 'beyackle/tableAnnounce' of https://github.com/microsoft…
beyackle b95fa76
add announcements to table view
beyackle a9697ef
linter stuff
beyackle abe817e
use global context for announcement state
beyackle 4aff3e2
Merge branch 'beyackle/tableAnnounce' of https://github.com/microsoft…
beyackle c8c2fde
add announcements to table view
beyackle b60e8dd
linter stuff
beyackle b4c566c
use global context for announcement state
beyackle 2cc19d5
Merge branch 'beyackle/tableAnnounce' of https://github.com/microsoft…
beyackle 8c49bad
Update table-view.tsx
beyackle 7f77949
Merge branch 'master' into beyackle/tableAnnounce
beyackle a056e36
Merge branch 'master' into beyackle/tableAnnounce
beyackle ff97bf0
Update App.tsx
beyackle b9a6801
Merge branch 'beyackle/tableAnnounce' of https://github.com/microsoft…
beyackle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How this setTimeout works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will reset the message to "undefined" after two seconds. Because the "aria-live" region is only read when it changes, we need to clear the message out after a pause. Otherwise doing the same action multiple times in a row (like deleting two rows from the table) will only be read once.