Fwd: [whatwg] summary/details - proposal

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