- From: Olivier GENDRIN <olivier.gendrin@gmail.com>
- Date: Sun, 26 Aug 2007 11:56:41 +0200
- To: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>
- Cc: public-html <public-html@w3.org>
On 8/26/07, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote: > Another approach described by Joe Clark is to use an image map, with the > alt text for each region provided by an <area> element [4]. However, I > couldn't find any real world sites that use this technique. > > However, there's currently an issue with the spec which would affect the > use of the image map technique. The spec currently states [5]: > > > However, if the area element has no href attribute, then the area > > represented by the element cannot be selected, and the alt attribute > > must be omitted. > > According to that requirement, using the image map would be > non-conforming because the areas would not need to be hyperlinks and so > they would need to use alt attributes without href attributes. > Therefore, I think that's a mistake in the spec and that requirement > should be removed. > > [4] http://joeclark.org/book/sashay/serialization/Chapter06.html#h2-4240 > [5] http://www.whatwg.org/specs/web-apps/current-work/#area This leads to an other idea : how could we have @titles (not @alt) for <areas> on a image (for example, names of countries on a world map). We could use an href free <map> to do this. So +1 ! -- Olivier G. http://www.lespacedunmatin.info/blog/
Received on Sunday, 26 August 2007 09:56:54 UTC