You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check what the <select> element’s background colour and
Expected behaviour
The <select> element should have an adequate colour contrast between its background colour and font colour.
To meet WCAG colour contrast criteria for small text, that would be a ratio of at least 4.5:1 for AA, and ideally a ratio of 7:1 or greater for AAA.
Currently, the colours for Chromium are set as #000 for the font and #FFF for the background, which is an excellent colour contrast ratio of 21:1.
Actual behaviour
Currently the <select> font and background have a colour contrast ratio of 3.31:1. This is well below the 4.5:1 ratio recommended in WCAG 2.0 for AA compliance.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=236010
Date: 2021-02-08
Reported by: @owenatgov @davidc-gds (found by @danacotoran, investigated by @vanitabarrett)
Related to:
Steps to reproduce
Expected behaviour
The <select> element should have an adequate colour contrast between its background colour and font colour.
To meet WCAG colour contrast criteria for small text, that would be a ratio of at least 4.5:1 for AA, and ideally a ratio of 7:1 or greater for AAA.
Currently, the colours for Chromium are set as #000 for the font and #FFF for the background, which is an excellent colour contrast ratio of 21:1.
Actual behaviour
Currently the <select> font and background have a colour contrast ratio of 3.31:1. This is well below the 4.5:1 ratio recommended in WCAG 2.0 for AA compliance.
The current defaults are:
Permalink showing the colour contrast report: https://webaim.org/resources/contrastchecker/?fcolor=007AFF&bcolor=E9E9EA
The text was updated successfully, but these errors were encountered: