Check for input type of image without alt attribute
Hi,
It's only after sending a pull request that I saw the 8 current issues you had already opened...
A suitable selector for input[type="image"] with non-existent or empty alt would be:
input[type="image"][alt=""], input[type="image"]:not([alt])
The difficult part is displaying an error without the help of :before and :after (input...)
I chose to add a huge red background but a background-image encoded in base64 would be nice. Not an accessible flag though (oh irony); JS would be the only way to do it in a better way, I think.
Great selector.
Agreed on the generated content. I think that although it isn't optimal, generated content would be valuable in some cases.
Working on https://github.com/Heydon/REVENGE.CSS/blob/master/revenge.css, the best I could come up with was a background image on the input with faux text in it. Any other ideas?