-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(material/timepicker): adds default aria-label to timepicker toggle #30284
fix(material/timepicker): adds default aria-label to timepicker toggle #30284
Conversation
Deployed dev-app for fc37006 to: https://ng-dev-previews-comp--pr-angular-components-30284-dev-gnu2ezzl.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
2252c9a
to
c91c98a
Compare
1174e6d
to
91fbc3e
Compare
You'll need to update the api goldens. I believe this is the command:
|
658d59c
to
fd5f7ab
Compare
2ceb536
to
1064b5f
Compare
1064b5f
to
aa98fb6
Compare
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.
LGTM
Updates Angular Component Timepicker so the timepicker toggle uses the aria-labelledby value for the timepicker toggle button to make it more accessible. Fixes b/380308482
Updates Angular Components Timepicker component by creating a default aria-label to the timepicker toggle if one is not supplied. This makes the button more accessible and descriptive for screen readers. Fix b/380308482
Updates previous fix to fix lint error.
Ran command to update api goldens.
…rride Updates previous fix which implements a default aria-label if no custom aria-label is provided to where it checks if an aria-lablledby value is provided and uses the aria-labelledby value if available. If not it will check for a custom aria-label and if that is not provided it will default to the generic aria-label value.
aa98fb6
to
fc37006
Compare
Updates Angular Component Timepicker so the timepicker toggle has a default aria-label value if no aria-label is applied for the timepicker toggle button to make it more accessible. Also adds additional option of applying aria-labelledby to Timepicker toggle button.
Before screencast
After screencast
Fixes b/380308482