WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2and high contrast

for

From: _mallory
Date: Oct 4, 2015 11:43PM


On Mon, Oct 05, 2015 at 01:58:15PM +1100, Roger Hudson wrote:
> Thanks Jonathan,
>
> But what about if it is an inline image with an alt attribute that is read out by screen readers - however in high contrast the image is either invisible or the resulting ratio between image and background is so low that it is effectively invisible?
>

Wouldn't this make the now-invisible icon inaccessible to non-screen-
reader users?
The guidelines don't necessarily say anything about "what if only
1 type of AT will expose this" I don't think but you'd think that
would affect the criteria.
Esp with browsers all being weird about whether they'll visibly show
the alt text or not based on the width of the image?

BTW Steve Faulkner has been passing around a bit of Javascript that
detects Windows high contrast where, when detected, an <img> could
be replaced with one that does show in high-contrast (so also if you
were using a transparent <img> with a sprite as background-image so
you could have an alt attribute, you could swap trans.png with
a non-sprite, visible on high-contrast version).

_mallory


>