Last active
March 18, 2018 16:33
-
-
Save blueridgemountains1/98d5e9ab0a57797d1ef23041e119da1f to your computer and use it in GitHub Desktop.
Alert about Images without any alt text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img:not([alt]), img[alt=""] { | |
outline: 5px solid red; | |
} | |
/* you could also use this for admins on wordpress with the following */ | |
.admin-bar img:not([alt]), .admin-bar img[alt=""] { | |
outline: 5px solid red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment