-
Notifications
You must be signed in to change notification settings - Fork 1
Quotes deleted when empty #17
Copy link
Copy link
Open
Labels
Description
There are cases where you might want an empty alt tag on an image, like for a spacer image. It’s best practice to have the alt attribute on all images, even if it’s empty, it’s better than none at all. And since it is blank, it's less annoying for screen readers to have nothing there than to say something like "blank spacer image" and less abrasive if the image doesn't load to not have actual alt text show up and thereby keep it as small as possible.
The compiler is currently deleting said empty quotes, as seen below:
Reactions are currently unavailable

