Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
Please check if your PR fulfills the following requirements:
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval
PR Type
What kind of change does this PR introduce?
This is an update to the Angular form password control. It adds screen reader only text to the password hide/show button. In addition it also adds the text to the common strings service so that consumers can override or customize as needed.
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
Signed-off-by: Matt Hippely mhippely@vmware.com
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce? This is an update to the Angular form password control. It adds screen reader only text to the password hide/show button. In addition it also adds the text to the common strings service so that consumers can override or customize as needed.
What is the current behavior?
Screen readers cannot read the password hide/show button title.
Issue Number: N/A
What is the new behavior?
Screen readers can read the
.clr-sr-only
text inside the password hide/show button.Does this PR introduce a breaking change?
Other information