Skip to content

Update 1.4.11 Non-text Contrast to address concerns about visual boundaries#5064

Open
patrickhlauke wants to merge 8 commits intomainfrom
patrickhlauke-issue4413
Open

Update 1.4.11 Non-text Contrast to address concerns about visual boundaries#5064
patrickhlauke wants to merge 8 commits intomainfrom
patrickhlauke-issue4413

Conversation

@patrickhlauke
Copy link
Copy Markdown
Member

@patrickhlauke patrickhlauke commented Apr 12, 2026

Originally, "placeholder" was mentioned in passing in the "Boundaries" section. However, if placeholder text is the only "text inside the control", as soon as a user enters a single empty character, the input - if it has low contrast border - would immediately fail 1.4.11 (as then there's no indication anymore giving users a hint about the presence of the control).

This PR rewrites the whole boundaries explanation to hopefully make it clearer when boundaries are needed and when they're not, and why.

Further, this adds a new failure example to the "Failing User Interface Component Examples" table - an input without any containing text and low contrast border - and it tweaks the preceding example of an input with a custom caret to be just about the caret (and not ALSO have low contrast border), so make it clearer what the failure here is.

Closes #4413

Preview: https://deploy-preview-5064--wcag2.netlify.app/understanding/non-text-contrast

(specifically https://deploy-preview-5064--wcag2.netlify.app/understanding/non-text-contrast#boundaries and the second table - the failing examples - in https://deploy-preview-5064--wcag2.netlify.app/understanding/non-text-contrast#user-interface-component-examples)

Diff preview at Boundaries

…daries

Originally, "placeholder" was mentioned in passing in the "Boundaries" section. However, if placeholder text is the only "text inside the control", as soon as a user enters a single empty character, the input - if it has low contrast border - would immediately fail 1.4.11 (as then there's no indication anymore giving users a hint about the presence of the control).

This PR rewrites the whole boundaries explanation to hopefully make it clearer when boundaries are needed and when they're not, and why.

Further, this adds a new failure example to the "Failing User Interface Component Examples" table - an input without any containing text and low contrast border - and it tweaks the preceding example of an input with a custom caret to be just about the caret (and not ALSO have low contrast border), so make it clearer what the failure here is.

Closes #4413
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 12, 2026

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 826fda7
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/69f4ce53b06ff400087f249b
😎 Deploy Preview https://deploy-preview-5064--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@adampage adampage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. 🚀 I left some suggestions for SVG hygiene and editorial tweaks.

Comment thread understanding/21/img/1.4.11-ntc-text-input-low-contrast-border-no-label-fail.svg Outdated
Comment thread understanding/21/img/1.4.11-ntc-text-input-custom-caret-fail.svg Outdated
Comment thread understanding/21/non-text-contrast.html Outdated
Comment thread understanding/21/non-text-contrast.html Outdated
patrickhlauke and others added 5 commits April 15, 2026 15:08
…-no-label-fail.svg

Co-authored-by: Adam Page <adam@adampage.net>
Co-authored-by: Adam Page <adam@adampage.net>
Co-authored-by: Adam Page <adam@adampage.net>
@bruce-usab
Copy link
Copy Markdown
Contributor

For Figure 1, might we have Button1, Button2 (rather than Button, Button) ?

@patrickhlauke
Copy link
Copy Markdown
Member Author

For Figure 1, might we have Button1, Button2 (rather than Button, Button) ?

they're supposed to be the same button, non-focused and then focused

Comment thread understanding/21/img/1.4.11-ntc-text-input-custom-caret-fail.svg Outdated
Comment thread understanding/21/non-text-contrast.html Outdated
Co-authored-by: Bruce Bailey <bruce@bailey4.us>
@fstrr
Copy link
Copy Markdown
Contributor

fstrr commented May 1, 2026

@adampage this update will likely impact your redesign of the page content.

@adampage
Copy link
Copy Markdown
Member

adampage commented May 1, 2026

@adampage this update will likely impact your redesign of the page content.

This one is considerably more important. 😅 But, yeah, I’m monitoring and will reconcile any conflicts once I get there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment