[whatwg] add html-attribute for "responsive images"
svartman95 at gmail.com
Thu Feb 9 06:00:26 PST 2012
On Wed, 08 Feb 2012 17:16:36 -0000, Anselm Hannemann - Novolo
Designagentur <anselm at novolo.de> wrote:
> Okay, I talked with some disabled web developers and Accessibility
> experts today and talked about the proposal of markup in alt-text.
> This seems not to be a good idea as screenreader would read the tags
> which would confuse many users then.
> So we would get into trouble with that approach according to current
> screenreader features, etc.
This applies only to attributes. Elements can and do have element
children, while attributes can only contain plain text. We should not
redefine the alt attribute. A new element has been proposed in the list
whose contents can be defined to be an alternative representation of the
linked resource. Preferably we could just reuse elements and semantics
<Object data="lolcats.gif title="An animated image macro of mine"
<p>Humans have been obsoleted.</p>
<Object data="lolcat.gif" title="An animated image macro of mine"
<Img src="lolcat.jpeg" title="An image macro of mine" alt="Nazi Cats.
Humans are now obsolete.">
As has been pointed out in the thread already, using <object> fallbacks of
different media types may result in strange behavior, and is hard to
More information about the whatwg