Skip to content

Consider testing our colour styles against the APCA contrast method #4066

Description

@dav-idc

What

We have a set of 'colour' styles within our design system, which were tested for colour contrast agains the WCAG 2.x colour contrast method.

Our two sets of colour styles are:

Consider testing these colours against the APCA method. APCA is being explored as a potential successor contrast method for WCAG 3, but the testing tools are available now.

What it would involve

Using the Bridge-PCA testing tool, test our colour contrasts against both the WCAG 2.x method and APCA.

  • test with white background (#ffffff)
  • test with black background (dark mode approximation) (#0b0c0c)
  • test with white text (#ffffff)
  • test with our 'black' text (#0b0c0c)

Documentation

Why

The APCA method is evidenced to do a more consistent job at matching real-world contrast needs. There's still no settled consensus on APCA's advantages and disadvantages as a tool for measuring contrast, but I figure it's probably a good enhancement to our colours.

Measuring against both methods will:

  • help us potentially future-proof for WCAG 3 (but that won't be on the horizon for several more years)
  • improve readability now, rather than waiting for WCAG 3

Who needs to work on this

Developers, interaction designers, accessibility specialist

Who needs to review this

Done when

  • test our main colours and record results
  • test our colour palette and record results
  • review results and decide if we want to pursue changes to any of our colours
  • write up GitHub issues for any changes we decide to pursue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions