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

<img usemap> should be interactive (detailed review of Semantics)

From: Simon Pieters <simonp@opera.com>
Date: Thu, 11 Oct 2007 17:08:12 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.tz1gbywqidj3kv@hp-a0a83fcd39d2.belkin>

(This is part of my detailed review of Semantics and structure of HTML  
elements section.)

In order to ban nesting of image maps in other interactive elements (like  
buttons), <img> should be classified as an interactive element when it has  
the usemap attribute specified.

(At the face of it, it seems to make sense to classify <area> (or <map>)  
as interactive, but it's actually the image you're interacting with and  
nesting <area>s (or <map>s) in other interactive elements does not cause  
any problems AFAICT.)

-- 
Simon Pieters
Opera Software
Received on Thursday, 11 October 2007 15:08:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:40:04 GMT