-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/datepicker): adds aria-describedby value for comparison date range #29910
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/datepicker): adds aria-describedby value for comparison date range #29910
Conversation
2a5bb04
to
66466d0
Compare
Deployed dev-app for 44499b2 to: https://ng-dev-previews-comp--pr-angular-components-29910-dev-t33hrm6g.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
66466d0
to
9d4b381
Compare
44499b2
to
5eb3ff3
Compare
Converting to draft while I integrate the latest DatePicker changes. |
Updates previous change to new datepicker changes.
Updates previous fix by creating a comparisonDateLabel value in MatDatePickerIntl to allow for further accessibility in allowing the text to be converted and translated. Fixes b/195600299
Updates previous fix to remove - for Ids in calendar-body.ts and revises comparisonDateLabel value to be Comparison range as recommended. Fixes b/195600299
This reverts commit 5eb3ff3.
5eb3ff3
to
38033c0
Compare
Fixed with this PR |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Updates Angular Components Datepicker component calendar-body to check for a comparison start and comparison end date value and implement aria-describedby id values to correspond with hidden spans that describe a sub range start and a sub range end date if it does exist so that it is read by the screenreader and improves accessibility.
Before screencast
After screencast
Fixes b/195600299