Skip to content

Fix: Adapt datepicker.js for some a11y standards #1902

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

Merged
merged 1 commit into from
May 15, 2021

Conversation

MIKOLAJW197
Copy link
Contributor

Hi!
I am currently working on adapting application to work properlly with screen readers.
My QA team pointed out that the datepicker.js component was not working correctly:

  1. There wasn't information about currently selected day - fixed with aria-current
  2. Selectpickers for choosing month/year wasn't labeled properly - fixed with aria-label.

I fixed it locally in our project but I thought It will be nice to share my patch :)

@jsf-clabot
Copy link

jsf-clabot commented Dec 14, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@fnagel fnagel self-assigned this Jan 22, 2020
Base automatically changed from master to main February 19, 2021 19:58
@mgol mgol requested a review from fnagel May 7, 2021 23:08
Copy link
Member

@fnagel fnagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for your contribution!

@fnagel fnagel merged commit b864cd1 into jquery:main May 15, 2021
@MIKOLAJW197 MIKOLAJW197 deleted the fix/a11y-datepicker branch May 27, 2021 14:59
@mgol mgol added this to the 1.13.0 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

5 participants