Skip to content

Fix the accessibility violations found by the story tests #552

Closed
14 of 14 issues completed
Closed

Description

@ggdaltoso

#551 runs every story as a test and checks it with axe (@storybook/addon-a11y). The check runs in todo mode, so violations are warnings for now. This issue tracks fixing them, one sub-issue per component.

How to see them:

  • In Storybook, open the story and the Accessibility panel, or run the tests from the sidebar with Accessibility checked.
  • In the terminal, set a11y.test to 'error' in packages/core/.storybook/preview.js and run yarn test:storybook.

Some are in the library (the fix ships in a release) and some only in the stories (the example is missing a label).

Once all sub-issues are closed, switch a11y.test from 'todo' to 'error' so new violations fail the tests.

Sub-issues

Sub-issues

14 of 14 Issues completed
Loading 14 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    @react95/coreenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions