Open MongooseDoom opened 8 years ago
Is there any update on this issue?
@Vishwaas can you add also the fixes for the picker.time.js?
@revdbrink I made a lot more fixes for pickadate regarding wcag but later I changed to using ember datepicker. I will try to push the changes today. Sorry for the late response
We've been using Pickadate for many of our projects but it would be great if it was also WCAG 2.0 A compliant.
We ran the pickadate demo site through the AMP tool to test for WCAG 2.0 A compliance and found a couple errors. Most of them are related to aria-activedescendant, aria-expanded, and aria-labels.
Date
aria-activedescendant used when it is not allowed Value "true" for aria-activedescendant is not appropriate. It should be the id of a selected descendant. https://www.w3.org/WAI/GL/wiki/Using_aria-activedescendant_to_allow_changes_in_focus_within_widgets_to_be_communicated_to_Assistive_Technology for more info
aria-expanded used when it is not allowed Aria-expanded should not be used on input elements. Aria-controls may be more appropriate here. https://www.w3.org/TR/wai-aria/states_and_properties#aria-controls for more info
ARIA based form control found without aria-label or aria-labelledby or inner text (where applicable) Previous and Next month doesn't have aria-label
Time
aria-activedescendant used when it is not allowed Value "true" for aria-activedescendant is not appropriate. It should be the id of a selected descendant. https://www.w3.org/WAI/GL/wiki/Using_aria-activedescendant_to_allow_changes_in_focus_within_widgets_to_be_communicated_to_Assistive_Technology for more info
aria-expanded used when it is not allowed Aria-expanded should not be used on input elements. Aria-controls may be more appropriate here. https://www.w3.org/TR/wai-aria/states_and_properties#aria-controls for more info