WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Regarding images lacking alts

for

From: Jukka K. Korpela
Date: Dec 5, 2012 1:59AM


2012-12-05 1:36, Bryan Garaventa wrote:

> It's an easy script to run when building pages to verify that alts aren't
> accidentally missing, which causes inconsistent announcement in screen
> readers like JAWS.

It's easier to use a markup validator like http://validator.w3.org which
reports missing alt attributes (for both <img> and <area> elements) by
HTML source line number *and* catches other syntax errors as well. You
can also use a validator plug-in in a browser.

To check that alt attributes really make sense (quite often, they
don't), you can use e.g. Firefox Web Developer Extension, command Images
> Disable images, which means that all <img> elements are replaced by
their alt attributes. (This can be used in conjunction with highlighting
missing alt attributes, as I mentioned in a previous comment; this helps
to see the problem cases in their context.)

Yucca