[whatwg] add html-attribute for "responsive images"

Bjartur Thorlacius svartman95 at gmail.com
Tue Feb 7 02:56:39 PST 2012


On 2/7/12, Ashley Sheridan <ash at ashleysheridan.co.uk> wrote:
> The main problem I see with that is that the <object> tag doesn't have
> the same accessibility attributes, so you'd effectively lock out a lot
> of people using browsers that don't understand the context of the tag in
> this case. I think the better way is to add something to the <img> tag
> as you'd still have full backwards compatibility.
>
What accessibility features, exactly? For compatibility, the deepest
child of <object> would be <img alt>, inheriting the accessibility
features of img. Alternatively, it might just as well be markup, which
is surely better accessibility wise than @alt and @longdesc.
Furthermore, you could theoretically link to an animation, a still and
a sound and embed a hypertext fallback.
(I'm sorry if <object>'s being generally terrible for accessibility
has been established already.)


More information about the whatwg mailing list