[Bug 25140] restrict summary element content?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25140

--- Comment #14 from steve faulkner <faulkner.steve@gmail.com> ---
(In reply to Simon Pieters from comment #13)
> (In reply to steve faulkner from comment #10)
> > anonymous control is labelled via id of summary
> > 
> > <details>
> >   <input id="anonymous-control"><summary
> > id="summary-anonymous-control"><label for="summary-anonymous-control">label
> > text</label> </summary>
> > Some content 
> > </details>
> > 
> > or 
> > 
> > anonymous control is labelled via id of details
> > 
> > <details id="details-anonymous-control">
> >   <input id="anonymous-control"><summary><label
> > for="details-anonymous-control">label text</label> </summary>
> > Some content 
> > </details>
> 
> In this proposal, the summary element has no default action? (Also "<input
> id="anonymous-control">" is not something that would appear in the markup?)

right, it's an attempt to find a way to work with what the spec currently says
while providing a method to have a larger click area (via the label element)
and provide a method to explicitly label the anon control using native HTML
rather than ARIA (which also does not provide the click region). 

the anon control represents the anon control in shadow DOM (more likely to be
<div id=anon control>...</div>

it makes the anon control a labelable element
(http://www.w3.org/html/wg/drafts/html/master/forms.html#category-label) via
reference to id of either summary or details

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 3 April 2014 13:29:58 UTC