Re: [ARIA] Branch with new label role created

Hi Joanie,

Looks good to me, generally.

There are a number of oddities based on the "Name From:" and "Accessible 
Name Required:" entries in the characteristics table.

First, there is an issue is as to how the definition of the label role 
fits with "Name from author".  The label role is defined as (my 
emphasis) " An element containing *content* that labels another 
element".  The term "content" refers to the stuff between an element's 
start and end tag.  That implies that "Name from author" is a 
non-starter since "Name from author" means to use something other than 
the element's content [1].  Yet, the label role inherits @aria-label and 
the following is possible:

<div role="checkbox" aria-labelledby="checkLabel"> ... </div>
<span role="label" id="checkLabel" aria-label="Allow incoming 
connections"></span>

The intent here is that the accessible name for the checkbox is "Allow 
incoming connections" even though the label has no content (the element 
is empty).  Then again, maybe this construct is not allowed.

Either the current definition stands as is, but @aria-label, 
@aria-labelledby, and, generally, "Name from author" are not allowed.  
Or, "Name from author" is allowed, but the definition has to change to 
not be exclusive to the element's content.

Another oddity is the "Accessible Name Required" entry.  Since the label 
*is* the name; it doesn't require a name for itself.  Put another way, 
one doesn't label a label.  This may be an exception to the 
characteristics model where "Accessible Name Required" does not apply to 
a role of label.

Similarly for the "Name From:" characteristic:  Whether from content or 
from the author, the name acquired isn't for the label itself, but for 
the accessible that the label is for.

[1] http://www.w3.org/TR/accname-aam-1.1/#mapping_additional_nd

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Tuesday, 9 June 2015 16:38:42 UTC