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

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