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:

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:
- Is a failure of non-text contrast for a focus indicator also mean a failure of focus visible?
- 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?
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:

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: