lion icon indicating copy to clipboard operation
lion copied to clipboard

fix(calendar): remove duplicate information for screen-reader user

Open gerjanvangeest opened this issue 1 year ago • 1 comments

What I did

  1. Remove aria-labelledby="month year" from table. Each day already announces the month and year in the dayTemplate. So it got announced double.
  2. Remove weekdayName from 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.
  3. Added a "." to dayTemplate message, to make the message more clear.

gerjanvangeest avatar Jan 23 '25 13:01 gerjanvangeest

🦋 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

changeset-bot[bot] avatar Jan 23 '25 13:01 changeset-bot[bot]