Language
Bookmarklet
A bookmarklet is a small piece of (JavaScript) code that is run in the context of the currently visible web page. It comes as a bookmark that you typically add to your browser bookmarks for being able to run it repeatedly. In order to install this bookmarklet, please drag the link above to your browser bookmarks and call it from there. You can also click on the link to run the bookmarklet on this very page.
Purpose & Notes
The purpose of this bookmarklet is to display the alternative text of images and graphics so that one can examine its sense. Decorative images are highlighted so that one can check their state. Images without any treatment are marked as erroneous.
The results are displayed visually on the page:
- A green bubble (✔) indicates a specified and non-empty alternative text.
- A red bubble (✖) indicates a missing alternative text.
- An orange bubble (💀) indicates either an empty alternative text (decorative image) or the dependence on the title attribute. Both case aren't necessarily an error but you should check whether you really want this.
Click on any of the info bubbles to log the associated element to the DevTools console.
Test bed
Fake ID 1
Fake ID 2