<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27120</bug_id>
          
          <creation_ts>2014-10-21 10:02:34 +0000</creation_ts>
          <short_desc>Advice unclear on role of separator and lists</short_desc>
          <delta_ts>2016-04-25 18:01:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="heydon">heydon</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>arronei</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>schwer</cc>
    
    <cc>w3bugs</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113527</commentid>
    <comment_count>0</comment_count>
    <who name="heydon">heydon</who>
    <bug_when>2014-10-21 10:02:34 +0000</bug_when>
    <thetext>I received a github issue [https://github.com/Heydon/REVENGE.CSS/issues/12] for my revenge.css project which informs me that the spec precludes the use of role=&quot;separator&quot; on list items [http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics].

The spec reads that &lt;li&gt;s MUST only have one role of

*listitem 
*menuitem 
*menuitemcheckbox 
*menuitemradio 
*option 
*radio 
*tab 
*treeitem 
*presentation

However, the separator role (http://www.w3.org/TR/wai-aria/roles#separator) is stated to have the purpose of &quot;distinguishing sections of content or groups of menuitems&quot;.

Since &lt;li&gt;s can take a role of menuitem and the only legitimate siblings of &lt;li&gt;s within &lt;ul&gt;s and &lt;ol&gt;s are other &lt;li&gt;s, these two pieces of advice appear to be mutually contradictory.

The related concept for role=&quot;separator&quot; is stated as the &lt;hr&gt; element. This implies that an &lt;hr&gt; would be a legitimate sibling of a menuitem, but not a listitem (which is an explicit &lt;li&gt;). 

If this is correct, why? And if it is not correct, can we please allow the role of separator on &lt;li&gt; as author advice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113578</commentid>
    <comment_count>1</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2014-10-22 15:27:32 +0000</bug_when>
    <thetext>Just because something is a related &quot;concept&quot; does not mean it is functionally equivalent in a host language. HR is indeed a separator but it has other restrictions as you see here.

The solution is simple. Apply the role of &quot;separator&quot; to the &lt;li&gt;. This is fact why we have WAI-ARIA. 

We have to also be careful on the degree in which we restrict WAI-ARIA. 

1. We can&apos;t predict all the ways authors will create UIS.
2. Authors cannot keep all the exceptions in their heads and they seldom go back to the spec. to look at the restrictions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113586</commentid>
    <comment_count>2</comment_count>
    <who name="heydon">heydon</who>
    <bug_when>2014-10-22 16:39:07 +0000</bug_when>
    <thetext>(In reply to Rich Schwerdtfeger from comment #1)
&gt; Just because something is a related &quot;concept&quot; does not mean it is
&gt; functionally equivalent in a host language. HR is indeed a separator but it
&gt; has other restrictions as you see here.
&gt; 
&gt; The solution is simple. Apply the role of &quot;separator&quot; to the &lt;li&gt;. This is
&gt; fact why we have WAI-ARIA. 
&gt; 
&gt; We have to also be careful on the degree in which we restrict WAI-ARIA. 
&gt; 
&gt; 1. We can&apos;t predict all the ways authors will create UIS.
&gt; 2. Authors cannot keep all the exceptions in their heads and they seldom go
&gt; back to the spec. to look at the restrictions.

Then the bug stands because the implication is that there _is_ an important restriction when there isn&apos;t one. Or at least, that can (and was) inferred.

You see, I wasn&apos;t asking for advice on how to use ARIA, I was questioning the transparency of the guidance for authors in general.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115808</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2014-12-02 20:47:12 +0000</bug_when>
    <thetext>See also: https://twitter.com/heydonworks/status/524493190389596160</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116169</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2014-12-11 20:25:30 +0000</bug_when>
    <thetext>Fixed in bleeding-edge version of spec?:
https://github.com/webspecs/html-aria/commit/47b0112a2a4ad2a0fc5a0e16565e7a3d4ee048bc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116170</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-12-11 20:28:33 +0000</bug_when>
    <thetext>(In reply to Chris Rebert from comment #4)
&gt; Fixed in bleeding-edge version of spec?:
&gt; https://github.com/webspecs/html-aria/commit/
&gt; 47b0112a2a4ad2a0fc5a0e16565e7a3d4ee048bc

yes, note this is an author conformance requirement only, makes no difference to any software except conformance checkers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126095</commentid>
    <comment_count>6</comment_count>
    <who name="Arron Eicholz">arronei</who>
    <bug_when>2016-04-25 18:01:57 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: won&apos;t fix. this is handled in the aria document and is clarified there. If you think there is further need to add information to the HTML 5.1 document please add an issue to github.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>