equalizedigital / accessibility-checker

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

Missing Form Label should not flag on image input with alt text #610

Closed amberhinds closed 2 months ago

amberhinds commented 5 months ago

https://github.com/equalizedigital/accessibility-checker/blob/183f257855902a96deb54e1b1d51688bfafed9fa/includes/rules/missing_form_label.php#L15

See post on rule testing site.

If it's an input with a type of image AND alt text, then I would not expect this to flag.

pattonwebz commented 2 months ago

@amberhinds I worked though this in #696 and it should be in the next release.

amberhinds commented 2 months ago

Thanks!