-
Notifications
You must be signed in to change notification settings - Fork 233
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
[WCAG 2.2 Feedback] Success Criterion 2.4.11 Focus Appearance (Minimum) (Level AA) #1896
Comments
Hi @dshoukry, Approved response to specific comments in the doc:
The previous issues and changes are documented in github, there are a lot so a more specific question might help. Overall though, the process has been to try and come up with the best mechanism to test the aspects outlined in our previous response, where the main factors that go into the visibility, from some testing and advice from an expert in vision, are:
I'm not clear if that is about native apps, or a scenario where a web app has multiple focus points? I think we need more info, and it would be worth considering how that scenario relates to the definition of user interface components.
We could, but then typical (and reasonable) indicators that people use now would not pass. It would make a lot of websites have to do extra work in order to pass, when their current indicators are reasonably clear to users and pass the current SC text.
The adjacent contrast bullet specifically says "against adjacent colors in the focused component", so if you mean the background to the component (rather than of the component) then yes. We have tried to avoid saying 'background' because it can be misleading.
For web content, anything not a rectangle. All the examples above are rectangles, and then the examples in here are circles and stars.
Originally we'd included a diagram of separating the indicator from the star and working out its size. However, several people commented that it looked too complex and was unnecessary. The simpler method was proposed instead. Would it help to add a line about comparing the focused/unfocused state and counting pixels? It is an unusual scenario, for most (unusual) shapes you can work it out mathematically more easily.
This criterion is about the authored styles, if people over-ride that it is out of scope.
Good point, it would probably help to include a snippet of the SC text under each heading.
It depends what you mean, changing some pixels from white to black is a "change of color" in the general sense. However, it could be adding an outline, so that type of 'change of color' is considered ok. Overall though, there is a general point in WCAG 2.x that a change of contrast is more than a change of colour. Thanks for the editorial updates, we'll implement those. |
The editorial updates are in #2000 |
Response approved in the last meeting: https://www.w3.org/2021/09/14-ag-minutes.html#item07 |
"Success Criterion 2.4.11 Focus Appearance (Minimum) (Level AA): When user interface components receive keyboard focus, all of the following are true:
Contrasting area: There is an area of the focus indicator that has a contrast ratio of at least 3:1 between the colors in the focused and unfocused states.
Minimum area: The contrasting area is at least as large as:
Outline: the area of a 1 CSS pixel thick perimeter of the unfocused component, or
Shape: the area of a 4 CSS pixel thick line along the shortest side of a minimum bounding box of the unfocused component, and no thinner than 2 CSS pixels.
Adjacent contrast: The contrasting area also has a contrast ratio of least 3:1 against adjacent colors in the focused component, or the contrasting area has a thickness of at least 2 CSS pixels.
Not fully obscured: The item with focus is not entirely hidden by author-created content."
We are still very concerned about this SC, and the difficulty and subjectivity required to consistently implement this on components with "unusual shapes". A few of us got lost in the implementation options/steps and exceptions and couldn't follow what is actually compliant. Could this be simplified to using higher contrast requirements or higher highlight contrast + thickness? And perhaps use some of the requirement numbers in the v2 of the Enhanced AAA requirement? Can the group share more around the data/decisions that influenced the changes for the latest round of updates in the AA vs AAA SC?
Please find detailed specifics covered in our 2.4.11 Focus Appearance (Minimum) (Level AA) Google Doc.
The text was updated successfully, but these errors were encountered: