- Documentation
img
) ayant un attribut alt
, le contenu de cet attribut est-il vide (alt
="") ?
The img tags with an alt attribute.
On each selected tag, detect if that image gives informations with the process algorithm decorative image detection.
If that image is detected as decorative only, then check that the alt attribute is empty.
If the algorithm could not determine whether the image needs a non empty alt attribute, then the intermediate result of the test is "need more info".
Store the results of the process as intermediate results.
The analysis algorithm used here is AND between the temporary results.
The images which need to be reviewed are reported with the standard message : "decorativeOrMeaningfulImage".
The errors are reported for each tag with the standard message : "textAlternativeShouldBeEmpty".