enh(oauth2): allowed toggling of aria label#42132
Merged
Conversation
Contributor
Author
|
/compile / |
Contributor
Author
|
/backport to stable28 |
ShGKme
previously requested changes
Dec 11, 2023
c7d2c17 to
b24c13d
Compare
added computed value for a constant string for community translators to work with 💖
b24c13d to
0b75c5e
Compare
Contributor
Author
|
/compile / |
ShGKme
requested changes
Dec 12, 2023
Contributor
ShGKme
left a comment
There was a problem hiding this comment.
The icon on this button also has a fixed title.
:title="t('oauth2', 'Show client secret')"
Using title on a span is not correct, it should be on the button and it has same dynamic value with "Hide".
But in this case, I think we can just remove the title attr here.
Contributor
Author
|
nice catch! gonna delete that part and then submit the new version : ) |
b11addf to
4f799bb
Compare
Contributor
Author
|
/compile / |
2a82c03 to
33dfc9b
Compare
Contributor
Author
|
@Pytal removed all comments 👍, agree with Grigorii that the name itself is self explanatory! |
ShGKme
reviewed
Dec 14, 2023
Contributor
ShGKme
left a comment
There was a problem hiding this comment.
It should have been catched by linter...
a2f75d1 to
7d9e2c9
Compare
Pytal
reviewed
Dec 15, 2023
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
7d9e2c9 to
254f4b0
Compare
Pytal
approved these changes
Dec 15, 2023
Merged
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.
Summary
The button in the table for OAuth 2.0 previously only had the aria label of "Show client secret", even when the button had toggled the rendering of the client secret. Switched aria label to "Hide client secret" when the rendered secret is visible!
TODO
Images
Checklist