Timeline for Celebratory fireworks animation
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 2, 2021 at 10:47 | comment | added | Toby Speight |
I find the best rule of thumb for ALT attributes is just to listen to them in context - it's usually obvious when it sounds wrong, or just doesn't flow with the surrounding text.
|
|
| Sep 30, 2014 at 14:05 | comment | added | Malachi | yes you are right, when using an image for formatting you should leave the attribute empty. But in this case you should have a value in the attribute. | |
| Sep 30, 2014 at 14:02 | comment | added | DA. | It's subjective in this example, but yes, in this particular case 'airplane' is likely applicable. My point is merely that while you should always have an alt attribute, you shouldn't necessarily always have a value in it. | |
| Sep 30, 2014 at 12:39 | comment | added | Malachi | W3 standards say that when the image is "used to create bullets in a list, a horizontal line, or other similar decoration" which is not similar to a visual object that is a major part of the site you are displaying, in this case the correct attribute value would be "Airplane" because the banner is already textualized in the html/javascript. The W3 standard says to leave the attribute blank when the image is used for formatting, an airplane that flies across the screen is not formatting. | |
| Sep 30, 2014 at 6:30 | comment | added | DA. | If the image is purely decorative (ie, not part of the content of the page) then it should actually have an empty alt attribute: sitepoint.com/… | |
| Sep 30, 2014 at 4:17 | comment | added | Malachi | @DA. I agree, I just put something semi Relevant in there, but less is better, especially on something that is moving. but I disagree in that it should not always have a value, it should always have a value so that it is compliant to standards. | |
| Sep 30, 2014 at 4:15 | history | edited | Malachi | CC BY-SA 3.0 |
added 1 character in body
|
| Sep 30, 2014 at 4:09 | comment | added | DA. | While you should always have an alt ATTRIBUTE, you should not always have a value in there. If the value isn't content that is of value to the site user, then it's actually a detriment. In this example, I'd say it's a detriment. For this attribute to be useful, I'd suggest a value of "airplane" | |
| Sep 29, 2014 at 20:47 | history | answered | Malachi | CC BY-SA 3.0 |