W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2014

Re: [whatwg] summary/details - proposal

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 6 Apr 2014 04:11:20 +0000 (UTC)
To: Steve Faulkner <faulkner.steve@gmail.com>
Message-ID: <alpine.DEB.2.00.1404060407130.21310@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@lists.whatwg.org>
On Sat, 5 Apr 2014, Steve Faulkner wrote:
> 
> The <summary> itself is not interactive, so only the triangle provides 
> the actionable control.

The spec doesn't disallow making clicks on (non-interactive) parts of the 
summary defer to the disclosure triangle. Browsers should just match 
platform conventions, where applicable, and otherwise make whatever is 
considered the best choice for users (such as making such content also 
trigger the disclosure triangle).


> Given that what we want to provide for the use case of having controls 
> inside the summary, after discussion around the issue, I have proposed 
> the following:
> 
> <details>
> <summary id=x> <label for=x>Foo</label> </summary>
>  ...
> </details>

That's way more complicated than necessary for authors, not to mention all 
the problems it would cause with the existing <label> definitions.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 6 April 2014 04:11:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:28 UTC