3 ms·
If the developers lets these tools insert `alt=""` per default with all images, then they are not in compliance with the spec.
by olavk 14y ago
If the developers lets these tools insert `alt=""` per default with all images, then they are not in compliance with the spec.
- kalleboo 14y agoBut if they leave out alt="", then they won't validate. What are they supposed to do, force the user to enter text? Then you'll end up with alt="sldfjsjf".
- olavk 14y agoNo, it is correct according to the HTML5 spec to leave out the alt-attribute if there is no valid alternative text available.