Image Alt Text Audit
Review image sources and alt attributes in pasted HTML.
Result
How to use Image Alt Text Audit
- Enter the values in the order shown in the input label or try the built-in sample.
- Select Run tool to generate the output.
- Review the output before copying it.
How it works
Review image sources and alt attributes in pasted HTML. Read image tags and distinguish missing, empty, and populated alt attributes.
Formula or processing rules
Read image tags and distinguish missing, empty, and populated alt attributes.
Worked example
The sample shows three cases: descriptive alt text, empty alt text for review, and a missing attribute on other.jpg.
| Measure | Value |
|---|---|
| Paste HTML containing image tags | <img src="dog.jpg" alt="A dog"><img src="icon.svg" alt=""><img src="other.jpg"> |
| Result | dog.jpg: A dog icon.svg: empty alt (review decorative use) other.jpg: missing alt |
Before using the result
Describe the meaning of informative images in their context. Keep an empty alt attribute for a purely decorative image when appropriate. Avoid repeating the same unhelpful description across cards.
Pros and cons
Pros
Review image sources and alt attributes in pasted HTML. The sample provides an immediate check of the expected output.
Cons
An empty alt attribute can be appropriate for decorative images. Review the purpose of each image.
Troubleshooting
Check the input format and compare your case with the built-in sample. An empty alt attribute can be appropriate for decorative images. Review the purpose of each image.
Common issue and what to check
If a source is missing, inspect the rendered image tag. Lazy-loading tools may add image URLs after the initial HTML is delivered.
Frequently asked questions
How do I use the text I get back?
Copy the output into the document, list, or compatible tool where you need it.
How does the transformation work?
Read image tags and distinguish missing, empty, and populated alt attributes.
Can I try a sample first?
Yes. Select Try a sample to load the worked example and see the expected result.
What should I check before using the result?
An empty alt attribute can be appropriate for decorative images. Review the purpose of each image.
Is my input stored by the tool?
The transformation is computed in the open page. The tool does not save the submitted text.