WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: alt or alt=""

for

From: Jeremy Echols
Date: Sep 5, 2019 2:38AM


If any serious accessibility tool is using regexes instead of properly parsing the DOM (pretty much every language has a way to parse HTML), that tool should be dragged into the street and shot.

I suspect every tool out there that's got widespread use just parses the DOM. But if anybody is thinking of writing their own tool to do something like this, and string scanning or regexes are where you go, please don't put those tools out for others to use as part of an audit. Accessibility is tough enough to get right even with great tools.