WordPress/gutenberg

Components: audit accessibility

Opened this issue · 6 comments

We should run a package-wise audit for the @wordpress/components package.

Each component should be audited primarily in Storybook, to ensure that it doesn't present any accessibility-related issues in isolation. Of course, more testing in the editor would be great to make sure that the component is used correctly and in an accessible manner.

We could use this PR as a tracking issue for any problems that will arise from the audit.

Instructions:

  • whenever you start auditing a component, place your github username next to the component's name (to avoid repeated work)
  • add the results of the audit to a new issue, and link it next to the component's name (so that this issue can act as a tracking issue)

List of components:

A great starting point for this would be if somebody could add a list of components to be tested as tasks on this ticket. That would really help to give a starting point; and as each task is worked on, we can create related issues as subtasks.

That is exactly the plan. @andrewhayward should be able to start looking into this relatively soon, but of course, feel free to help!

I've updated the issue's description with a list of components and instructions on how to collaborate.

Probably also worth writing up an auditing guide/template, so that we can be reasonably sure each component is following a similar process.

Sounds like a good idea — happy to follow the advice of folks with more a11y testing expertise

How detailed do you think we'd want to make the auditing guide? Should it be written at a level of detail that people with no prior experience with accessibility testing can do it? Or would it be better to have a multi-level testing process? E.g., a first pass that requires less expertise, then a second pass for more experienced testers.

I created an issue (#50931) to track the auditing guide work, just to keep that conversation somewhat separate. Ideally I think it would allow most people to participate, even with limited or testing experience, but I don't really know what the community is capable of, or who's likely to be helping out, so I'm open to suggestions!