You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User agents MUST use the first token in the sequence of tokens in the role attribute value that matches the name of any non-abstract WAI-ARIA role. The following steps will correctly identify the applicable WAI-ARIA role:
The above only has one MUST requirement; the second sentence and the list below are statements of fact. I think the first sentence should be removed, and the second sentence should say "MUST".
Use the rules of the host language to detect that an element has a role attribute and to identify the attribute value string for it.
What does this mean? Is it applying the requirements from html-aam for HTML?
Separate the attribute value string for that attribute into a sequence of whitespace-free substrings by separating on whitespace.
Compare the substrings to all the names of the non-abstract WAI-ARIA roles. Case-sensitivity of the comparison inherits from the case-sensitivity of the host language.
What does this mean? HTML has some attribute values case-sensitive, some ASCII case-insensitive.
Use the first such substring in textual order that matches the name of a non-abstract WAI-ARIA role.
(This step seems clear enough.)
The text was updated successfully, but these errors were encountered:
closes#1236
remove second sentence / steps to correctly identify WAI-ARIA roles from intro to roles section.
add new sentence linking to 8.1 Role Attribute steps for `role` implementation in the host language
For the
role
attribute, https://w3c.github.io/aria/#introroles saysThe above only has one MUST requirement; the second sentence and the list below are statements of fact. I think the first sentence should be removed, and the second sentence should say "MUST".
What does this mean? Is it applying the requirements from html-aam for HTML?
What does "whitespace" mean? Should this use https://infra.spec.whatwg.org/#split-on-ascii-whitespace ?
What does this mean? HTML has some attribute values case-sensitive, some ASCII case-insensitive.
(This step seems clear enough.)
The text was updated successfully, but these errors were encountered: