[Bug 25140] New: restrict summary element content?

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

            Bug ID: 25140
           Summary: restrict summary element content?
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: faulkner.steve@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

currently interactive content is allowed in the summary element 
http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-summary-element

this seems counter productive as the summary acts as the interactive control
for controlling  details display state.

consider adding caveat to current content model 'phrasing content, but there
must be no interactive content descendant.'

Are there any use cases for allowing interactive descendants?

maybe summary should act like a label element for a button that controls
details display?

<label id="summary"><button aria-labelledby="summary"> label text</label>

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

Received on Monday, 24 March 2014 17:08:45 UTC