react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

Uses ARIA roles on incompatible elements

Open AndiCover opened this issue 1 year ago • 0 comments

Googles Page Speed Insights shows me the following error:

Many HTML elements can only be assigned certain ARIA roles. Using ARIA roles where they are not allowed can interfere with the accessibility of the web page.

The following role seems to be wrong: role="presentation"

More about ARIA roles: https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role

It would be nice if the correct aria role is used or if we can overwrite it.

AndiCover avatar Oct 25 '24 15:10 AndiCover