[whatwg] ALT and equivalent representation
giecrilj at stegny.2a.pl
Mon Apr 28 13:56:47 PDT 2008
ALTGROUP is a dirty trick; if you insist on having the images separate,
which you really should not do, you can have
><img src="part1.png" /><img src="part2.png" /><img src="part3.png"
This extension would be closer to the meaning IMHO.
Otherwise, what happens if the images that belong to the same ALTGROUP of
yours are not contiguous?
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Shannon
Sent: Sunday, April 20, 2008 1:30 PM
To: whatwg at lists.whatwg.org
Subject: Re: [whatwg] ALT and equivalent representation
What about this as a possible solution?
<img src="part1.png" altgroup="rating">
<img src="part2.png" altgroup="rating">
<img src="part3.png" altgroup="rating">
<altgroup id="rating" value="3/5">
I don't think this would raise any serious implementation issues as the
logic is quite simple; If all elements in an altgroup are unavailable
then display the value of the altgroup tag. The alt attribute would then
be optional where altgroup is defined but required in all other cases.
More information about the whatwg