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

[Bug 24996] New: <summary> and heading question

From: <bugzilla@jessica.w3.org>
Date: Mon, 10 Mar 2014 21:49:45 +0000
To: public-html-admin@w3.org
Message-ID: <bug-24996-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24996

            Bug ID: 24996
           Summary: <summary> and heading question
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: rubinahaddad@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

We are using the <summary> and <details> elements to get the expand/collapsable
polyfill.  The <summary> sometimes acts as the heading for the <details> for
example a question and an answer section.  My question is why isn't a heading
allowed in the summary if it makes sense to give it structure:
http://www.w3.org/TR/WCAG20-TECHS/H42

Current:

<details>
 <summary>Why can't I add a h2 here?</summary>
 <p>…</p>
</details>

Proposed: 
<details>
 <summary><h2>Why can't I add a h2 here?</h2></summary>
 <p>…</p>
</details>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 10 March 2014 21:49:46 UTC

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