E-mail List Archives
Re: alt or alt=""
From: glen walker
Date: Sep 3, 2019 3:57PM
- Next message: Patrick H. Lauke: "Re: Trying to Understand 2.5.3"
- Previous message: Peter Shikli: "Re: alt or alt="""
- Next message in Thread: Mallory: "Re: alt or alt="""
- Previous message in Thread: Peter Shikli: "Re: alt or alt="""
- View all messages in this Thread
According to html specs, alt and alt="" are exactly the same.
https://www.w3.org/TR/2012/WD-html-markup-20120329/syntax.html#syntax-attr-empty
"And alt> cannot be assured to identify a decorative image if some other
attribute follows the alt attribute"
I don't follow that. Why does it matter if there's another attribute
following alt?
On Tue, Sep 3, 2019 at 3:43 PM Peter Shikli < <EMAIL REMOVED> > wrote:
> As a coder myself, it would be easier to write an if-then-else logic
> statement to find alt="" than just alt since that latter is part of many
> other constructs. And alt> cannot be assured to identify a decorative image
> if some other attribute follows the alt attribute. The net result is that I
> recommend the extra finger workout to type alt="" to make sure a screen
> reader catches it correctly and informs the user about decorative images.
>
> Cheers,
> Peter Shikli
> Access2online
>
>
> > > > >
- Next message: Patrick H. Lauke: "Re: Trying to Understand 2.5.3"
- Previous message: Peter Shikli: "Re: alt or alt="""
- Next message in Thread: Mallory: "Re: alt or alt="""
- Previous message in Thread: Peter Shikli: "Re: alt or alt="""
- View all messages in this Thread