[csswg-drafts] [css-color] Accessibility of examples in §2.2 (#7690)

matatk has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color] Accessibility of examples in §2.2 ==
*This comment is from the APA WG and relates to [our review of CSS Color Module Level 5](https://github.com/w3c/a11y-request/issues/29#issuecomment-1236389445).*

**[Example 2](https://www.w3.org/TR/2022/WD-css-color-5-20220628/#ex-mix-lch-peru40)**

* This example has a figure with a descriptive caption. The `<img>` element lacks an `alt` attribute. The `alt` text should mention that the image shows three colours (the two inputs, and the mixed output) on a plane with two axes. The axes are labelled "a" and "b" and cross at the origin, which is in the centre of the plot. We are looking down the L axis onto an ab plane.
* An `<img>` that has `alt` text in Example 22 (in §3.6) refers to this plane as the CH plane. This seems to be conventional, but it may be helpful for people who are not familiar with color spaces to mention it in the document's text.
* For someone who struggles to see the color, or low-contrast colors, it would be helpful to label the colors on the chart ("peru", "palegoldenrod" and "mixed" for the mixed color, in this case). (You could perhaps do this with numbers, to save space, and keep the layout simple, in the diagram, as long as they match up to numbers, color previews, and coordinates in the text below.)

**[Example 3](https://www.w3.org/TR/2022/WD-css-color-5-20220628/#ex-mix-lch-teal65)**

The above three issues apply here too.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7690 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 4 September 2022 18:20:42 UTC