Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question to clarify 1.4.11 Non-text Contrast (AA) #861

Closed
LaurenceRLewis opened this issue Aug 14, 2019 · 2 comments
Closed

Question to clarify 1.4.11 Non-text Contrast (AA) #861

LaurenceRLewis opened this issue Aug 14, 2019 · 2 comments

Comments

@LaurenceRLewis
Copy link
Contributor

Boundaries

This success criteria does not require that controls have a visual boundary indicating the hit area, but if the visual indicator of the control is the only way to identify the control, then that indicator must have sufficient contrast. If text (or an icon) within a button or placeholder text inside a text input is visible and there is no visual indication of the hit area then the Success Criterion is passed. If a button with text also has a colored border, since the border does not provide the only indication there is no contrast requirement beyond the text contrast (1.4.3 Contrast (Minimum)). Note that for people with cognitive disabilities it is recommended to delineate the boundary of controls to aid in the recognition of controls and therefore the completion of activities.

Example

A button has white text on a green boundary (background), and the green button boundary is on a grey background (page).
If the white button text against the boundary (button background) does not equal or exceed a contrast ratio of 4.5:1 this fails the SC for 1.4.3 Contrast (Minimum).

But, if the green button background does not meet the requirements for 1.4.11 Non-text Contrast, where the background is less than 3.1:1 against the adjacent grey background. Is that a fail for 1.4.11 Non-text Contrast. Or, is the white button text against the green button background a 1.4.11 Non-text Contrast failure? Does this fail 1.4.11 Non-text Contrast at all.

@alastc
Copy link
Contributor

alastc commented Aug 15, 2019

If the white text on a green background passes 1.4.3, and the boundary is not the only way of idenfiying the control then it would not be in scope of 1.4.11.

In the context of designs which may not have any background/border change for identifying buttons/links, the requirement is low. Basically, so long as it is not randomly intermingled with text then a border/background is not required.

We just added example three to this table in the understanding, which I think answers your question. This previous issue #800 is also very close to your question.

Does that answer it?

@LaurenceRLewis
Copy link
Contributor Author

@alastc It does. Thank you.

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

No branches or pull requests

2 participants