Repository navigation
Keycodes: fix tilde (~) character isn't displayed correctly - #46826
Merged
Merged
Conversation
t-hamano
marked this pull request as ready for review
December 30, 2022 05:56
|
Size Change: +20 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
afercia
approved these changes
Dec 30, 2022
afercia
left a comment
Contributor
There was a problem hiding this comment.
This library removes symbols by default and needs to explicitly add to the regular expression.
Ouch, I wasn't aware of this. Thanks for catching this @t-hamano
Looks good to me.
Contributor
Author
|
Tanks for the review, @afercia! |
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
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.
Related to #45019
What?
This PR fixes the following two problems with the keyboard shortcut modal:
aria-abelcontaining tilde character is not displayed correctlyWhy?
capitalCase()is used in the display of shortcut characters and aria-label.This library removes symbols by default and needs to explicitly add to the regular expression.
Testing Instructions
aria-labelin the browser developer tools.