Skip to content

Should C40 be also sufficient for 1.4.11 Non-Text Contrast? #2575

@kimviens

Description

@kimviens

Hi everyone!

The reason why I ask if C40: Creating a two-color focus indicator to ensure sufficient contrast with all components is because I am trying to determine if a focus indicator that fails the contrast requirement fails both 1.4.11 and 2.4.7.

Let's say we have the situation like in figure 12 of 1.4.11. See below:
Screenshot of figure 12 where the focus fails non-text contrast inside of a button

In the image there is a focus but it fails non-text contrast. Therefore, would it be a failure of 1.4.11 Non-text Contrast and a pass of 2.4.7 Focus visible because the focus is there? Would it fail both because we can pretend that any non-text element that fails the contrast requirement is "invisible" to the user.

That said, the sufficient technique C40 is about ensuring proper contrast. Considering how 1.4.11 Non-text Contrast speaks about focus indicators, C40 sounds like it would also fix non-text contrast requirements.

Restatement of the questions:

  1. Is a failure of non-text contrast for a focus indicator also mean a failure of focus visible?
  2. Should C40: Creating a two-color focus indicator to ensure sufficient contrast with all components be also sufficient to pass 1.4.11 Non-text Contrast for focus indicators?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions