- 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>
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 Tuesday, 17 June 2008 23:36:54 UTC