WebAIM - Web Accessibility In Mind

E-mail List Archives

Is "label" a valid attribute for the img tag?

for

From: Jim Homme
Date: Apr 11, 2024 1:32PM


Hi,
This is about me trying to read the Mozilla documentation correctly. When I look up the img tag, "label" is not listed as an attribute. I'm comparing this to what the JAWS screen reader is howing me about an img tag internally here. I'm doing this because the image seems to be displaying to JAWS as a file name such as "image 1.png". Could this also be some sort of JavaScript thing?

Thanks.

Jim

=========Jim Homme: He, Him, His
Senior Digital Accessibility Consultant
Bender Consulting Services
412-787-8567
https://www.benderconsult.com/
Help end the shame of the stigma of mental health disabilities. https://benderleadership.org/notashamed/