- From: Alastair Campbell <acampbell@nomensa.com>
- Date: Sun, 13 Mar 2022 21:43:44 +0000
- To: "WCAG list (w3c-wai-gl@w3.org)" <w3c-wai-gl@w3.org>
- Message-ID: <PR3PR09MB5347DAB71CE3DADAFE3E341EB90C9@PR3PR09MB5347.eurprd09.prod.outlook.com>
Hi everyone, A further update to the changes/comments from Wednesday. Melanie left some comments on the document which we discussed in the WCAG 2.x meeting on Friday. The 2px thickness OR adjacent contrast hadn’t come through to the bullet version properly, leading to some oddities in the test cases. That has been revised to match the previous version, so the exception is: * is at least as large as a 4 CSS pixel thick line along the shortest side of a minimum bounding box<https://www.w3.org/TR/WCAG22/#dfn-minimum-bounding-box> of the unfocused component, and * has a contrast ratio of at least 3:1 against the same pixels in the unfocused state, and * has a contrast ratio of at least 3:1 against adjacent colors, or is no thinner than 2 CSS pixels. Also updated is the proposed note. Kind regards, -Alastair From: Alastair Campbell Hi everyone, To follow up on yesterday’s meeting I’d like to summarise the changes and comments/responses. These are all in the doc: https://docs.google.com/document/d/1TI_DsJjfg9RW_A9C1XfqgtfYqNMfnxeCz6lxjpOQ9rk/edit#<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F1TI_DsJjfg9RW_A9C1XfqgtfYqNMfnxeCz6lxjpOQ9rk%2Fedit%23&data=04%7C01%7Cacampbell%40nomensa.com%7Cf5e8ffc11f384c57e53908da01bb645f%7Cebea4ad6fbbf43bd8449c56e26692c35%7C0%7C0%7C637824202332339115%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4ulGvce%2F%2FRIy4S5ZilC0XObv4bFCHC33PUPENo2RMDU%3D&reserved=0> I’m just adding this email for the record and so people notice. To summarise the changes since the previous version: * The first part of the SC is much simpler, but a slightly higher bar than the previous version. I.e. a continuous line around (or bounding) the component with contrast for the change and adjacency. That disqualifies dotted/dashed lines, or indicators which include non-contrasting shadows/gradients. * The second part of the SC includes two exceptions for user-agents. * The second part of the SC includes an exception with the same language for sizing (based on area) as the previous one. It uses the of 4px along shortest side version of that. From the logic/math of the SC anything that passes the previous version should pass this version due to the size exception. The one oddity is: Circles (or very rounded squares) with a 1px contrasting outline. Where the shortest side = longest side, the maths means the perimeter doesn’t meet the area and it would need to be thicker. We could allow for that case by incorporating the 1px permitter language from the previous version, but that adds complexity to reading / understanding the SC. Apart from that oddity, any dashed/dotted/decorative examples that passed before should pass now based on the sizing language in the exception. Comments Going in order of the SC text (and comments in the doc): * Gundula / Wilco wondered about dotted / dashed lines which could pass depending on how you interpret “encompasses”. My suggestion is to update the definition of “Encompasses” to say: “Continuously surrounds, bounds or includes the whole of” * Wilco was concerned about how we determine the size based on User Interface Controls (UIC). We've been through many (all?) the alternatives, if you look through the UIC section in the doc it outlines a way it could be documented in the understanding doc (although it is written for the group at the moment). A key factor is that you can use the focus indicator to work out what the UIC is. Anything passing 2.4.7 must have a focus indicator, therefore the location of that indicator can help you work out what the UIC is. That is very helpful in the Card & sub-component examples. Also, we can include all the decorative aspects like drop-shadows and if it does not meet the first part, it is very likely to pass the size exception. * AndrewK thought we should remove the adjacent contrast aspect as it is covered in non-text contrast. Unfortunately, it isn’t in some key cases, see this example: https://w3c.github.io/wcag/understanding/non-text-contrast.html#figure-focus-outer-green<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Fwcag%2Funderstanding%2Fnon-text-contrast.html%23figure-focus-outer-green&data=04%7C01%7Cacampbell%40nomensa.com%7Cf5e8ffc11f384c57e53908da01bb645f%7Cebea4ad6fbbf43bd8449c56e26692c35%7C0%7C0%7C637824202332339115%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b%2BevF5HlNg6lI6f7cH4TJJtU5Ydp%2B1QIHYPoDzFr0qA%3D&reserved=0> * Jon & MichaelG wondered about “indicator’s background” in the exception. For some components, the focus indicator goes inside the component. What matters is the change of contrast, and that can be in or out of the component. That is why it says the background of the indicator. * Gundula and Wilco asked about decorative effects. If you look at the shadow examples, unless it is a square or circle (i.e. the shortest side = longest side) then the area of a solid indicator would be more than 4px * length. It would need to be 2px or thicker, but it keeps it simpler. I wonder if we can drop the 2px thickness requirement in this configuration? With the emphasis on standard & contrasting outlines, it doesn’t matter as much. The other option is to re-integrate the 1px perimeter area option again as part of the size exception. * Jon wanted to add a note about sub-components, which is related to the UIC issue. I’ve added this to the document: “NOTE: Where a component has sub-components (e.g. a drop-down menu), the focused item is the scope of this success criterion.” * Suzanne thought that decorative effects should be ignored for the purpose of the SC. Most should pass via the exception, however, that is another possibility. We could potentially build that into the definition of encompasses, e.g.: “Continuously surrounds, bounds or includes the whole of, except for decorative effects such as shadows” If you have any comments or follow-up on that please reply/comment soon, I’d like to get a series of smaller decisions ready for next week. Kind regards, -Alastair -- @alastc / www.nomensa.com<http://www.nomensa.com>
Received on Sunday, 13 March 2022 21:44:00 UTC