W3C home > Mailing lists > Public > www-archive@w3.org > April 2014

Fwd: [whatwg] summary/details - proposal

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Mon, 7 Apr 2014 11:21:12 +0100
Message-ID: <CA+ri+VkEcmnztfKEEm9gWvdqbbcJN6EQ1r5vrSi99W5t-UDbRA@mail.gmail.com>
To: www-archive <www-archive@w3.org>
forwarding to www-archive as it didn't appear in whatwg archive
--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>


On 6 April 2014 21:08, Ian Hickson <ian@hixie.ch> wrote:

>
> > On 6 April 2014 05:11, Ian Hickson <ian@hixie.ch> wrote:
> > > On Sat, 5 Apr 2014, Steve Faulkner wrote:
>
>
>

>
> > with the current definition how do authors provide a label for the
> > disclosure widget when summary also contains controls with labels?
>
> If doing so matches the platform conventions, any non-interactive text in
> the <summary> would open the widget.
>

for the case

<details>
  <summary> Foo  <input> Bar  </summary>
  ...
 </details>


whats the disclosure label?

what about?

<details>
  <summary> <label><input> Bar  </label></summary>
  ...
 </details>



>
> > in the absence of browser making "clicks on (non-interactive) parts of
> > the summary defer to the disclosure triangle." how is an author supposed
> > to do this?
>
> The author isn't supposed to do this. The whole point of semantic controls
> like this is that the user agent is the one that picks the user interface.




>
> Once we start talking about custom widgets, we're in the space of Web
> components, at which point the author can do whatever the author wants.
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
Received on Monday, 7 April 2014 10:22:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:44:29 UTC