Skip to content

Enhance automated accessibility testing in our development pipeline #3041

@dav-idc

Description

@dav-idc

What

Timeline: Ongoing work, with a strong focus until March 2023, and then continuing afterwards
Priority level: 3 – what reduces risk of inaccessible implementations
Category: Design system fundamentals

Potential tasks

  • Research new automated accessibility testing tools and determine whether they can add benefits beyond what our jest-axe automated testing is currently achieving.
  • Expand automated testing to include all example code snippets for each style, component and pattern.
  • Research the feasibility of testing example code snippets with dynamic JavaScript and multiple states, such as the cookie banner and character count components.

Epic lead

Not yet assigned

Why

As of November 2022, there are limitations to how the team implements jest-axe as part of our automated testing:

  1. The team only tests the first example code snippet for each component and pattern – most of our components and patterns have multiple example code snippets.
  2. The team only tests the static HTML version of example code snippets, as found in the HTML tab – some components and patterns include JavaScript that modifies the HTML, which tests do not capture.

Who needs to work on this

Developers, accessibility specialist

Who needs to review this

Developers, tech leads

Initial goals

  • New automated accessibility testing tools are researched and changes to our existing testing are proposed
  • Automated testing is expanded to include all example code snippets
  • Components with multiple states get testing for each state

Future goals

  • Automated testing is expanded to include multiple stages of complex interactions and journeys (for example, cookie banner, character count, Exit this Page)
  • Research on automated testing focussed on screen reader outputs is completed and potential options are pursued
  • Processes are put in place to make sure tests are updated when new components are added or changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityaccessibility strategy activitiesActivities covered in the accessibility strategyepicEpics are used in planning project boards to group related stories

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions