carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

Update to `versioned` accessibility-checker config, latest ruleset #17149

Open tay1orjones opened 3 months ago

tay1orjones commented 3 months ago

In https://github.com/carbon-design-system/carbon/pull/17128 accessibility-checker was updated. We can now make use of the versioned ruleset.

versioned makes sure we use a rule pack that matches the version of accessibility-checker we're currently on. New rulesets will only be brought in by updating accessibility-checker, so no more randomly failing CI checks out of the blue after a new ruleset is published on latest.

This will effectively update the ruleset to the latest, 06Aug2024. There will be violations/failures we'll need to sort through and fix and/or turn off certain rules that do not apply to storybook or the context in which we're developing the components.

### Potential related violations
- [ ] https://github.com/carbon-design-system/carbon/issues/17176
- [ ] https://github.com/carbon-design-system/carbon/issues/17181
- [ ] https://github.com/carbon-design-system/carbon/issues/17223
- [ ] From #16582: 1. DatePicker @avt-advanced-states open test skipped due to color contrast a11y failure and 2. Skipped DataTable's @avt-advanced-states with-radio-expansion test due to an odd failure where the id's on rows are not correct on the dynamic story
tay1orjones commented 3 months ago

The color contrast issues could be related to transitions, we should look into the fix that ibm-products explored and implemented