Skip to content

Commit dd84ae8

Browse files
committed
[css-color-4] browser-generated pairs should AA contrast
1 parent d9fd7b1 commit dd84ae8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-color-4/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,12 @@ System Colors</h3>
959959
to ensure legibility and consistency across the page
960960
and avoid an uncoordinated mishmash of user-forced and page-chosen colors.
961961

962+
When the values of <<system-color>> keywords come from the browser,
963+
(as opposed to being OS defaults or user choices) the browser should
964+
ensure that <a href="#system-color-pairs">matching
965+
foreground/background pairs</a> have a minimum
966+
of WCAG AA contrast.
967+
962968
Authors <em>may</em> also use these keywords at any time,
963969
but <em>should</em> be careful to use the colors
964970
in <a href="#system-color-pairs">matching background-foreground pairs</a>

0 commit comments

Comments
 (0)