E-mail List Archives
alt or alt=""
From: glen walker
Date: Aug 30, 2019 5:29PM
- Next message: Steve Green: "Re: alt or alt="""
- Previous message: Andrews, David B (DEED): "Re: How do you properly code an image viewer?"
- Next message in Thread: Steve Green: "Re: alt or alt="""
- Previous message in Thread: None
- View all messages in this Thread
I've always recommended specifying alt="" for decorative images and am not
sure why I didn't think of this earlier but specifying alt without any
value is essentially the same thing. It's valid html syntax and has the
same effect with hiding the image from screen readers.
Seems like a simple thing but does anyone know why we shouldn't use alt by
itself with no value? From an html spec perspective, they're the same
thing.
It's three less characters to type so my lazy developer side likes it.
- Next message: Steve Green: "Re: alt or alt="""
- Previous message: Andrews, David B (DEED): "Re: How do you properly code an image viewer?"
- Next message in Thread: Steve Green: "Re: alt or alt="""
- Previous message in Thread: None
- View all messages in this Thread