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 1:11PM


> That's not quite true - images in links can have alt="" as long as the link also contains text.

Indeed. Or they could instead have an ARIA label. Or a title attribute
value. Or be hidden altogether and have tabindex="-1". Or...

This just underscores the potential difficulties of using such find
and replace (or overlay) techniques that don't consider the specific
instances of (in)accessibility.

Jared