Bug: gridcell ARIA role incorrectly added to Day button element #1688
Labels
Accepted
Changes have been accepted and will go in one of the next releases.
accessibility
In Progress
Work in Progress
Milestone
Discussed in #1674
Originally posted by rihardsgravis February 2, 2023
Bug description
The ARIA
gridcell
role is added to the Day button, but that is an incorrect role for the button since it does not represent a cell in a grid – it is in fact a child of a cell. Accessibility tests using the component are failing.Expected behaviour
The role for the button could be
button
or omitted at all since it's a HTM button component and the role for it is clear.The text was updated successfully, but these errors were encountered: