[whatwg] ALT and equivalent representation
Křištof Želechovski
giecrilj at stegny.2a.pl
Mon Apr 28 13:38:29 PDT 2008
Or even <img src=11100 alt=3/5>
-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Bill Mason
Sent: Saturday, April 19, 2008 10:14 PM
To: Simon Pieters
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] ALT and equivalent representation
Simon Pieters wrote:
> For instance it would be reasonable to use two images -- a filled star
> and an unfilled star -- to represent a rating of something:
>
> <p>Rating: <img src=1><img src=1><img src=1><img src=0><img src=0></p>
>
> You'd want the text version to be:
>
> Rating: 3/5
There would probably be the argument for more literal interpretations
(not that I would automatically subscribe to any of them as correct),
such as
Rating: (3 black stars in unicode) (2 white stars in unicode)
Rating: *** (or 3 stars of some sort in unicode) (if the context of the
page already established that ratings were on a scale of 5)
> Hence:
>
> <p>Rating: <img src=1 alt=3/5><img src=1 alt><img src=1 alt><img
> src=0 alt><img src=0 alt></p>
Or
<p>Rating: <img src=1 alt=★><img src=1 alt=★><img src=1
alt=★><img src=0 alt=☆><img src=0 alt=☆></p>
<p>Rating: <img src=1 alt=*><img src=1 alt=*><img src=1 alt=*><img src=0
alt><img src=0 alt></p>
--
Bill Mason
Accessible Internet
whatwg at accessibleinter.net
http://accessibleinter.net/
More information about the whatwg
mailing list