My reading of the 2.4.11: Focus Appearance "Relation to non-text color contrast" section is the following...
1.4.11 Understanding Non-Text Contrast requires that custom focus states pass contrast with adjacent colours.
You are not comparing the unfocused state with the focused state. But when the element is in the focused state, you need to check that it passes contrast with adjacent colours. Unless it is native.
This success criterion does not care whether the contrast difference between the two states is poor. You are only ever testing adjacent colours that can be accessed at any one single point in time.
2.4.11: Focus Appearance requires that the difference between focus states (native or custom) pass contrast. That is my reading of the "Relation to non-text color contrast" section.
It otherwise needs to be a certain size and not be obscured.
However, the following part of the normative definition implies that the relationship has more nuance.
Adjacent contrast: The focus indication area has a contrast ratio of at least 3:1 against all adjacent colors for the minimum area or greater, or has a thickness of at least 2 CSS pixels.
In some cases, it does involve testing adjacent colours.
I think I understand it, along with the other conditions of the new SC. But it would be nice to have this specific point explained in simple terms in the "Relation to non-text color contrast" section. How do the adjacent colour checks differ between SC?
For example, an interesting point is "The requirement is to have an indicator that has a 3:1 contrast ratio with the adjacent colors (including the component)", which I don't think is in scope for 1.4.11.
My reading of the 2.4.11: Focus Appearance "Relation to non-text color contrast" section is the following...
1.4.11 Understanding Non-Text Contrast requires that custom focus states pass contrast with adjacent colours.
You are not comparing the unfocused state with the focused state. But when the element is in the focused state, you need to check that it passes contrast with adjacent colours. Unless it is native.
This success criterion does not care whether the contrast difference between the two states is poor. You are only ever testing adjacent colours that can be accessed at any one single point in time.
2.4.11: Focus Appearance requires that the difference between focus states (native or custom) pass contrast. That is my reading of the "Relation to non-text color contrast" section.
It otherwise needs to be a certain size and not be obscured.
However, the following part of the normative definition implies that the relationship has more nuance.
In some cases, it does involve testing adjacent colours.
I think I understand it, along with the other conditions of the new SC. But it would be nice to have this specific point explained in simple terms in the "Relation to non-text color contrast" section. How do the adjacent colour checks differ between SC?
For example, an interesting point is "The requirement is to have an indicator that has a 3:1 contrast ratio with the adjacent colors (including the component)", which I don't think is in scope for 1.4.11.