equalizedigital / accessibility-checker

GNU General Public License v2.0
14 stars 8 forks source link

Low-quality Alternative Text new keyword #619

Closed SteveJonesDev closed 2 months ago

SteveJonesDev commented 4 months ago

A user reported the keyword an image not flagging Low-quality alternative text.

Assess adding this keyword and the possibility of adding a filter.

pattonwebz commented 4 months ago

I looked at this with some test data and the reason that it isn't flagged for that tester is because the image is in a figure with a caption. When there's a caption we break early from the checks and no error is checked for https://github.com/equalizedigital/accessibility-checker/blob/1e20599f2c60e160dbff480001ee40819f889ae3/includes/rules/img_alt_invalid.php#L103

SteveJonesDev commented 2 months ago

Issue moved to our internal system.