Decorative vs. Linked Icon
Icon next to visible text gets alt=""; standalone icon inside button needs aria-label on button.
<button><img src="trash.svg" alt=""></button><button aria-label="Delete item"><img src="trash.svg" alt=""></button>Empty alt="" is the right choice for purely decorative borders, spacers, and redundant icons—but dangerous when placed inside links or on informative graphics.
Your files and content are processed locally in your browser. We do not upload your files to our servers.
An empty alt="" attribute tells screen readers to skip the image completely. However, if that image is the only child inside a link, the link loses its accessible name.
DOM tree inspection checking ancestor interactive elements (<a href>, <button>) around alt="" images.
Icon next to visible text gets alt=""; standalone icon inside button needs aria-label on button.
<button><img src="trash.svg" alt=""></button><button aria-label="Delete item"><img src="trash.svg" alt=""></button>Detect missing alt attributes, filename placeholders, and redundant alt phrasing locally.
Locate icon-only or blank <a> links that fail screen reader announcements.
Draft accurate alt attributes locally using the W3C image decision tree.
Inspect local image properties, dimensions, and HTML accessibility attributes.
Audit text alternatives for <img>, <input type='image'>, <area>, and banners.
Measure local image intrinsic dimensions and generate CLS-safe HTML attributes.