ResponsiveImagesCG / ri-usecases

The use cases and requirements document for Responsive Images
http://usecases.responsiveimages.org
39 stars 9 forks source link

Mention relying color alone is an accessibility issue #48

Closed takenspc closed 11 years ago

takenspc commented 11 years ago

In 3.6 Matching media features and media types, current Use Case Requirement says:

However, displaying a color image on monochrome media (e.g., paper and e-ink displays) can be problematic: different colors with similar luminosity are impossible to distinguish on monochrome media. This problem is illustrated in the figure below, where it becomes nearly impossible to associate slices of a pie chart with corresponding labels.

(snip)

The only feasible solution is for authors to provide alternative image content that communicates effectively in monochrome media.

This is a common accessibility issue/mistake and fails WCAG 2.0 Success Criterion 1.4.1 Use of Color.

Yet there are some cases where authors cannot modify existing problematic contents, Use Case Requirements should mention this is an accessibility issue and authors are encouraged to avoid relying color alone.

Related resources:

nwtn commented 11 years ago

+1. I know we talked about this, but I don't remember the outcome. I'll see if I can dig up the previous conversations in case there was anything already written.

marcoscaceres commented 11 years ago

@takenspc agree, can you suggest some text please to fix the section?

nwtn commented 11 years ago

The IRC conversation I was thinking of. I believe it started out (in my mind) as "this needs to be a use case", and quickly got derailed into "the media queries don't work properly".

Also, this is one of @hellogeri's areas of expertise. Any comments/ideas?

takenspc commented 11 years ago

Here are some sentences (though I wonder these are appropriate for a spec document.)

However, displaying a color image on monochrome media (e.g., paper and e-ink displays) can be problematic: different colors with similar luminosity are impossible to distinguish on monochrome media. This problem is illustrated in the figure below, where it becomes nearly impossible to associate slices of a pie chart with corresponding labels. (start here) This is a common accessibility issue (WCAG 2.0 Success Criterion 1.4.1 Use of Color). Developers are highly encouraged to avoid relying color alone. There are some techniques to avoid it, such as connecting slices and labels with lines and using textures or patterns. For more details, the Colour Accessibility introduces backgrounds and some techniques of the color accessibility. (end here)

marcoscaceres commented 11 years ago

@takenspc thanks for the proposed text. The document is really just supposed to outline the use cases, not provide best practice guidelines for developers. how about instead:

This is a well-known accessibility problem, as described in WCAG 2.0 (linked to the right section). A solution that affords developers the ability to discriminate on media type could potentially increase the accessibility of image content.

If you are ok with it, I will add it.

marcoscaceres commented 11 years ago

@takenspc we've merged in the proposed text. If you want us to modify it, just let us know.

takenspc commented 11 years ago

I confirmed. Thanks!