From afdad479188d3606d4286927005bfa947fd7d876 Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Tue, 12 Mar 2024 13:30:58 +0000 Subject: [PATCH 1/2] Broken link (#3745) --- understanding/21/non-text-contrast.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/understanding/21/non-text-contrast.html b/understanding/21/non-text-contrast.html index 7a7d622b25..8886a10ecf 100644 --- a/understanding/21/non-text-contrast.html +++ b/understanding/21/non-text-contrast.html @@ -140,7 +140,7 @@
Three blue buttons on a white background, the middle has a dark green outline outside of the botton's non-focused boundary.
- The external green indicator (#008000) does contrast with the white background (#FFF) which the component is on, passing the criterion. It does not need to contrast with both the component background and the component, as visually the effect is that the button is noticeably larger, and it's not necessary for a user to be able to discern this extra border in isolation. Although this passes non-text contrast, it is not a good indicator unless it is very thick. There is a AAA criterion in WCAG 2.2 that addresses this aspect, Focus Appearance. + The external green indicator (#008000) does contrast with the white background (#FFF) which the component is on, passing the criterion. It does not need to contrast with both the component background and the component, as visually the effect is that the button is noticeably larger, and it's not necessary for a user to be able to discern this extra border in isolation. Although this passes non-text contrast, it is not a good indicator unless it is very thick. There is a AAA criterion in WCAG 2.2 that addresses this aspect, Focus Appearance.
From bf44269cbccdc1fbd7d26b70e59fe6bf5a3f6a38 Mon Sep 17 00:00:00 2001 From: Francis Storr Date: Fri, 15 Mar 2024 08:54:31 -0700 Subject: [PATCH 2/2] add lang attribute to document (#3740) Also change the `doctype` element to not XHTML. --- working-examples/link-contrast/index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/working-examples/link-contrast/index.html b/working-examples/link-contrast/index.html index ff34f9ff55..26dc051a71 100644 --- a/working-examples/link-contrast/index.html +++ b/working-examples/link-contrast/index.html @@ -1,10 +1,8 @@ - - - + + - -