date-picker icon indicating copy to clipboard operation
date-picker copied to clipboard

Selected element (date) is not properly identified

Open Gabrielaparada opened this issue 9 months ago • 1 comments

The dates have an attribute of 'aria-pressed' which updates to true/false as they are selected/unselected. However, this is not the correct attribute to communicate the selected/unselected date, aria-pressed should only be used for toggle buttons which is not the case in this scenario.

Expected behavior aria-pressed should be replaced with 'aria-selected'

Screenshot 2024-05-08 at 1 26 43 PM

Gabrielaparada avatar May 08 '24 17:05 Gabrielaparada