-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
enh(oauth2): allowed toggling of aria label #42132
Conversation
/compile / |
/backport to stable28 |
c7d2c17
to
b24c13d
Compare
added computed value for a constant string for community translators to work with 💖
b24c13d
to
0b75c5e
Compare
/compile / |
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.
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.
nice catch! gonna delete that part and then submit the new version : ) |
b11addf
to
4f799bb
Compare
/compile / |
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.
Works and seems fine now
2a82c03
to
33dfc9b
Compare
@Pytal removed all comments 👍, agree with Grigorii that the name itself is self explanatory! |
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.
It should have been catched by linter...
a2f75d1
to
7d9e2c9
Compare
Signed-off-by: Eduardo Morales <[email protected]>
7d9e2c9
to
254f4b0
Compare
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