W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

Re: [widgets] icon text

From: SUZANNE Benoit RD-SIRP-ISS <benoit.suzanne@orange-ftgroup.com>
Date: Wed, 18 Jun 2008 23:42:17 +0200
To: Marcos Caceres <marcosscaceres@gmail.com>, Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <C47F4DD9.107DD%benoit.suzanne@orange-ftgroup.com>

Comparing 1 and 2, I'd go for 1

About the inner html, it is a good thing to allow, but if there are lots of
changes do we need this for this round or can it be added in later?

> 
> Benoit  Suzanne
> Widget Factory Project Manager - Orange Labs - FT/RD/SIRP/SOL/SLAM
> t. +33 (0)145 298  198 - m. +33 (0)680 287 553
> benoit.suzanne@orange-ftgroup.com
> 
 



> From: Marcos Caceres <marcosscaceres@gmail.com>
> Date: Wed, 18 Jun 2008 09:36:18 +1000
> To: Web Applications Working Group WG <public-webapps@w3.org>
> Subject: [widgets] icon text
> Resent-From: <public-webapps@w3.org>
> Resent-Date: Tue, 17 Jun 2008 23:36:55 +0000
> 
> 
> This is a proposal to add alternative text to <icon> element. As with
> the alt attribute in HTML, the alternative text could be used as
> fallback content, or for context where an image icon does not fit or
> is unsuitable, and for use by assistive technologies.
> 
> Proposal 1:
> <icon src="sunny.gif" alt="sunny and warm"/>
> 
> Proposal 2:
> <icon src="sunny.gif" label="sunny and warm"/>
> 
> Proposal 3:
> <icon src="sunny"><p xmlns="http://.../xhtml/"><span>Sunny</span> with
> a chance of showers. High: 22, Low: 23</p>
> 
> Adding one of the above would also require a change to the Widgets API
> spec. In the case of 1 and 2, the Widget API spec could be enhanced
> with an appropriate property or method (eg. icon.alt = "something" or
> setText() ).  In the case of proposal 3, icon could support the
> innerHTML() method.
> 
> Kind regards,
> Marcos
> 
> 
> -- 
> Marcos Caceres
> http://datadriven.com.au
> http://standardssuck.org
> 
Received on Wednesday, 18 June 2008 21:43:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:26 GMT