[Bug 27120] New: Advice unclear on role of separator and lists

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

            Bug ID: 27120
           Summary: Advice unclear on role of separator and lists
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: heydon@heydonworks.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

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="separator" on list items
[http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics].

The spec reads that <li>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 "distinguishing sections of content or groups of
menuitems".

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

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

If this is correct, why? And if it is not correct, can we please allow the role
of separator on <li> as author advice.

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

Received on Tuesday, 21 October 2014 10:02:36 UTC