seb-oss / green

Green is an open-source design system built by SEB.
https://storybook.seb.io/
Apache License 2.0
37 stars 55 forks source link

Datepicker: No active days for screenreader #1750

Open EldRoos opened 3 weeks ago

EldRoos commented 3 weeks ago

Bug already reported?

For which framework/library you are reporting the bug

No response

Component name

Dropdown

Description

If you have no days that you can select in a month, it can be hard to know for the screen reader user that they are all disabled.

Steps To Reproduce

Have current day dec 23, and use choose next bank day. On some years all days in dec are disabled.

Current Behaviour

First day is selected but you can't select anything else.

Expected Behaviour

Be able to select disabled days but get a text saying it is not selectable.