Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

essjay05
Copy link
Contributor

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

@essjay05 essjay05 marked this pull request as ready for review October 23, 2024 16:18
@essjay05 essjay05 requested a review from a team as a code owner October 23, 2024 16:18
@essjay05 essjay05 requested review from mmalerba and andrewseguin and removed request for a team October 23, 2024 16:18
…date range

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.

Fixes b/195600299
@essjay05 essjay05 force-pushed the datepicker-comparison-add-sr-announcements branch from 2a5bb04 to 66466d0 Compare October 23, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant