govuk-frontend icon indicating copy to clipboard operation
govuk-frontend copied to clipboard

WCAG 2.2: Revisit button focus state

Open owenatgov opened this issue 1 year ago • 0 comments

What

Revisit the focus state of the button component.

Why

During testing of this component against WCAG 2.2 criterion 2.4.13: focus appearance as part of https://github.com/alphagov/govuk-frontend/issues/4347, it was discovered that the secondary and inverse button variants don't pass this criterion. This is because for both variants, the contrast between the focus yellow and the default background of these buttons (grey and white) is too low.

Further reading

Who needs to work on this

Developers, designers

Who needs to review this

Developers, designers

owenatgov avatar Nov 15 '23 18:11 owenatgov