RE: Focus appearance updates

I am in favor of strengthening the requirements at AAA per the presented research, but could live with moving to AAA as is. If we do strengthen it, I think the changes suggested in Alastair's post make sense, and I am also fine with dropping the "is no thinner than 2 CSS pixels" from the final bullet and demanding adjacent contrast like Mike G suggested.

I think "at least as large as the area of a 2 CSS pixel<https://www.w3.org/TR/WCAG22/#dfn-css-pixels> thick perimeter<https://www.w3.org/TR/WCAG22/#dfn-perimeter>" might be a bit ambiguous, though. For rectangles, I bet some folks will interpret this as "double the formula we specify in Example 16 of the perimeter definition<https://www.w3.org/TR/WCAG22/#example-16>" and some folks will interpret this as "the number of pixels if you draw a 2px thick line with 1px of thickness on either side of the boundary of the shape", which give answers that are off by 8px2 from one another. It might be less ambiguous either to use something like "twice the area of a 1 CSS pixel thick perimeter" or alternately to update the example formulas in Example 16 to show how to calculate 2px thick perimeter areas directly.

-Dan

From: Michael Gower <michael.gower@ca.ibm.com>
Sent: Thursday, March 23, 2023 11:23 AM
To: Alastair Campbell <acampbell@nomensa.com>; WCAG list (w3c-wai-gl@w3.org) <w3c-wai-gl@w3.org>
Subject: Re: Focus appearance updates

You don't often get email from michael.gower@ca.ibm.com<mailto:michael.gower@ca.ibm.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
I think it is shorter without part 1, and we can demo a fully enclosed with a nice technique.

The lift to something as big as a 2px perimeter addresses some of the findings from Google, and as a AAA, I think it's reasonable to seek that.

I do wonder if we can remove the "or is no thinner than 2 CSS pixels" from the final bullet?

Google's research suggested that lacking the contrast made it more difficult to locate the indicator, especially when there was not neighbouring components to assess what can amount to just a smallish size difference. If we're at AAA, I think we can make the bar a bit higher and insist on the contrast with adjacent non-focus indicator.

Those are shopping list items for me. I can abide your proposal, but I do think we can be a bit pickier.
Mike




From: Alastair Campbell <acampbell@nomensa.com<mailto:acampbell@nomensa.com>>
Date: Tuesday, March 21, 2023 at 9:54 AM
To: WCAG list (w3c-wai-gl@w3.org<mailto:w3c-wai-gl@w3.org>) <w3c-wai-gl@w3.org<mailto:w3c-wai-gl@w3.org>>
Subject: [EXTERNAL] Focus appearance updates
Hi everyone, Based on the survey and the call today, we agreed to move Focus Appearance to AAA. If we can make some further modifications, we should work out what those are. It isn't clear what would count as 'substantive', as we are creating
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi everyone,

Based on the survey and the call today, we agreed to move Focus Appearance to AAA.

If we can make some further modifications, we should work out what those are.

It isn't clear what would count as 'substantive', as we are creating requirements rather than features. Moved to AAA we have reduced the requirement in practice.

Another fairly straightforward change would be to remove the 'part 1' of the SC. That would at least make it smaller, if not simpler. It would not affect conformance, as anything that passes part 1 would pass part 2.

I can see two other changes that could be appropriate at AAA.

  1.  Simplify the 'size' bullet, e.g. remove the 4 times shortest side measure.
  2.  Increase the size requirement to 2 CSS pixel thick perimeter.

All of those together would leave us with:

When the keyboard focus indicator<https://www.w3.org/TR/WCAG22/#dfn-focus-indicator> is visible, an area of the focus indicator meets all the following:
*         is at least as large as the area of a 2 CSS pixel<https://www.w3.org/TR/WCAG22/#dfn-css-pixels> thick perimeter<https://www.w3.org/TR/WCAG22/#dfn-perimeter> of the unfocused component or sub-component, and
*         has a contrast ratio of at least 3:1 between the same pixels in the focused and unfocused states, and
*         has a contrast ratio of at least 3:1 against adjacent non-focus-indicator colors, or is no thinner than 2 CSS pixels.
(Plus the exceptions.)

Does anyone have a different approach to this, or would like to make a case for retaining the 4 x shortest side metric?

I think the overall impact, for those aiming for AAA, would be a stronger push toward outlines, and thicker outlines as well.

Kind regards,

-Alastair

--

@alastc / www.nomensa.com<http://www.nomensa.com/>

Received on Friday, 24 March 2023 03:00:50 UTC