lion
lion copied to clipboard
fix(calendar): remove duplicate information for screen-reader user
What I did
- Remove
aria-labelledby="month year"from table. Each day already announces the month and year in the dayTemplate. So it got announced double. - Remove
weekdayNamefrom dayTemplate - The weekday is also the table header, so if you move from one text element to another while using the screen-reader, you already hear the weekday announced. - Added a "." to dayTemplate message, to make the message more clear.
🦋 Changeset detected
Latest commit: e361fba68b95ec934a90edcfce9e6b7f0acf92c4
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @lion/ui | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR