W3C home > Mailing lists > Public > public-html@w3.org > February 2010

Re: Feedback on using <details> as a replacement of summary="..."

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 18 Feb 2010 15:29:19 +0200
Message-Id: <4257ED4D-F202-449B-846A-8E096DB5AE6C@iki.fi>
To: "public-html@w3.org WG" <public-html@w3.org>
On Feb 18, 2010, at 14:58, Leif Halvard Silli wrote:

>>> 	 Replace the summary child element of details with a button.
>> 
>> This seems like a bad idea to me, because <button> has pre-existing 
>> behavior that isn't designed for making <button> act as a disclosure 
>> triangle and the disclosure triangle label.
> 
> Can you mention any concrete issues?  From my POV, <button> instead 
> <summary> sounds excellent.

Completely misleading default appearance in pre-existing UAs and a DOM API that is inappropriate for a widget that's not a form control and is instead label-like itself (as opposed to being labelable).

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 18 February 2010 13:30:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:14 UTC