-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Escape moves focus to editor region when in select mode #62196
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c191d4d
Escape moves focus to parent when in select mode
jeryj 5b69791
Escape sends focus directly to canvas and styled with pseudoelement
jeryj 3b7d2de
Use selected block focus style mixin
jeryj 56b8f86
Fix test for escape keypress in select mode
jeryj c7f7ed3
Redo CSS for editor canvas outline.
jeryj 0614c6f
Fix focus selector to not show if multiselection
jeryj 34aa86a
Use aria-label to improve announcement for focusing editor canvas
jeryj 7f3e381
Move focus to editor content region
jeryj dd7c1a1
Remove body focus styles
jeryj 9712646
Focus the region of the editor canvas if it is available
jeryj 474be49
Use focus-visible to prevent clicks on regions from showing blue outline
jeryj c42153e
Revert aria-labels on iframe and writing flow
jeryj ba6e245
Revert focus style for regions and add new focus-visible style to han…
jeryj ba2d1ad
Fix incorrect selector when reverting
jeryj 7050e0b
Only show focus on editor region with focus-visible
jeryj e5a6d50
Revert selected outline mixin move
jeryj c245a89
Update test to right focus area
jeryj 55f0f32
Convert repeated styles to localized mixins
jeryj 801ceb9
Refactor finding focusable wrapper
jeryj b32c3c8
Allow for multiple iframed editors on a page
jeryj 387ed23
Convert nodelist to array for firefox compatability
jeryj 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 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.
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.
We shouldn't need to forward a ref here anymore. I think some unnecessary things made their way in during the rebase. I'll get this fixed.I was wrong on this. It is necessary unless we want to check for the selection button by name, as we need to know if the target is our current navigation selection button. There may be another way to check this without passing the ref though.