WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How to dynamically fix thousands of images missing alt attributes using regular expression find and replace

for

From: Jared Smith
Date: Jun 14, 2019 10:13AM


> have the process update the tags to make them compliant with null alts

Automatically adding alt="" to all inaccessible images is not akin to
making them "compliant" or accessible. This would instead simply stop
tools from flagging them as obvious accessibility failures - and that
would subsequently make it much more difficult for them to actually be
assigned appropriate alternative text.

Extending this tool to instead display the image (optimally in its
context) and prompting for appropriate alternative text would be much
more effective for supporting image accessibility.

Jared