W3C home > Mailing lists > Public > public-html-admin@w3.org > March 2014

[Bug 25140] New: restrict summary element content?

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Mar 2014 17:08:42 +0000
To: public-html-admin@w3.org
Message-ID: <bug-25140-2495@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Monday, 24 March 2014 17:08:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:57:26 UTC