-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added accessible announcement for the TextAnnotatorPopup
appearance
#141
Open
oleksandr-danylchenko
wants to merge
36
commits into
recogito:main
Choose a base branch
from
oleksandr-danylchenko:keyboard-selection-announcement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Added accessible announcement for the TextAnnotatorPopup
appearance
#141
oleksandr-danylchenko
wants to merge
36
commits into
recogito:main
from
oleksandr-danylchenko:keyboard-selection-announcement
Conversation
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 reverts commit fc9bc7a
oleksandr-danylchenko
force-pushed
the
keyboard-selection-announcement
branch
from
August 22, 2024 16:11
2c1a1da
to
1b6c1fe
Compare
…ncement # Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx # packages/text-annotator-react/src/hooks/index.ts
…ncement # Conflicts: # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
…ncement # Conflicts: # package-lock.json # packages/text-annotator-react/package.json
…ncement # Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
…ncement # Conflicts: # package-lock.json # packages/text-annotator-react/package.json
…ncement # Conflicts: # package-lock.json # packages/text-annotator-react/package.json
# Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
# Conflicts: # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
# Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
# Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotationPopup/TextAnnotationPopup.tsx
# Conflicts: # package-lock.json # packages/text-annotator-react/package.json # packages/text-annotator-react/src/TextAnnotationPopup/TextAnnotationPopup.tsx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Relations
Issue
When the
TextAnnotatorPopup
appears during the keyboard selection, the focus isn't immediately shifted to it (reason). Instead, a user should explicitly Tab to enter into it.However, there's no way to know when or whether the popup appeared for the screen reader users.
Suggestion
A navigation hint message should be explicitly announced using the live area. The message should appear after a user idles for at least
700ms
to prevent it from being interrupted by system announcements. The hint should be announced once per selection so as not to be too annoying.Changes Made
@react-aria/live-announcer
dependency (source), that allows to announce arbitrary messages on the page conveniently.message
configurable.Relations
This PR depends on the Keyboard Selection Support one - #118. Therefore, it includes all of its changes within.