4 ms·
"Use alt tags where appropriate" When you don't have need of an alt attribute, add one but keep it empty. In the absence of an alt attribute some screen reader
by 4lun 14y ago
"Use alt tags where appropriate"
When you don't have need of an alt attribute, add one but keep it empty. In the absence of an alt attribute some screen readers will read out the path of the image instead. Setting it to empty allows you to remove this, almost always, unnecessary noise.