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

Re: command Label and <img alt>

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Jul 2009 07:57:13 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0907150745370.23663@hixie.dreamhostps.com>
On Wed, 24 Jun 2009, Simon Pieters wrote:
> When the spec says to use the textContent of an element as the command's 
> Label, I think it should instead use the text content including the alt 
> text of <img> elements.

On Wed, 24 Jun 2009, Simon Pieters wrote:
> Also, the contents of <script> and <style> and should probably be 
> skipped.

There are a number of cases in HTML where it might make sense to do 
something along those lines, maybe also substituting the appropriate 
bidi characters for <bdo>, removing <del>s, inserting quote marks for <q> 
elements... This could be useful with <dfn> to define the term defined, 
<time> to define the string that is to be used when the datetime="" 
attribute is missing, for <progress> and <meter>, for property values, for 
getting the text to use in <title> elements in the Atom conversion...

Do we want to go there?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 15 July 2009 07:57:52 UTC

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