vaadin / vaadin-date-picker

The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
https://vaadin.com/components
Apache License 2.0
165 stars 78 forks source link

Add aria-level to divs with heading roles #793

Closed semisse closed 2 years ago

semisse commented 3 years ago

Currently, vaadin-date-picker has three divs with role="heading". This attribute needs, concurrently, an aria-level reference. This is described in the W3C WAI-ARIA 1.1 Required States and Properties.

To fix this a11y issue I added an aria-level="2", which is the default value of this attribute.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

web-padawan commented 2 years ago

Closing in favor of https://github.com/vaadin/web-components/pull/2462. We will check that PR, sorry about the delay.