W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: Improving alt (was handling fallback content for still images)

From: Smylers <Smylers@stripey.com>
Date: Fri, 13 Jul 2007 19:51:28 +0100
To: public-html@w3.org
Message-ID: <20070713185128.GC5621@stripey.com>

Sander Tekelenburg writes:

> So I propose to add the following to
> <http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded.html#alt>
> - UAs must make the entire contents of the alt attribute easily
> discoverable and available to users when the image is, for whatever
> reason, not presented.  (For example, UAs may present the alt text in
> place of the image; or through a tooltip or in a status bar on
> hovering the indicator of the missing image; etc.)

That sounds good.

> - The maximum length of the alt attribute is n characters. UAs must
> ignore the part of alt's conent that exceeds this limit. For longer
> alternatives authors must use longdesc.
> Obviously n needs to be defined.

I'm less convinced about that.  Whatever value you pick for n, there's
bound to be a webpage out there which has alt content of length n + 1.
With the above "must" a browser would not be permitted to display the
final character of the alt text even if it had enough room to do so.  I
don't think prohibiting browsers from displaying content in this way
helps users.

Received on Saturday, 14 July 2007 15:32:51 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:24 UTC