w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 49 forks source link

add new aria 1.2 roles #392

Closed scottaohara closed 2 years ago

scottaohara commented 2 years ago

closes #200

Adds blockquote, caption, code, deletion, emphasis, generic, insertion, meter, paragraph, strong, subscript, superscript, time.

Updates links from referencing ARIA 1.1 to ARIA 1.2

changes / corrects dd and dt to not reference an ARIA role, as definition and term were corrected in ARIA 1.2 to not be associated with these elements.

These are non-normative updates, since these roles are defined in ARIA 1.2/CORE AAM and the HTML mappings in HTML AAM, respectively.

TODO: more elements map to generic. Additionally, there needs to be some content added to the spec to indicate that generic is a role authors SHOULD NOT be using, per the ARIA spec. This could be tacked onto the 'any role' definition (issue to update 'any role' #358).

related to resolving HTML AAM https://github.com/w3c/html-aam/issues/373


Preview | Diff

scottaohara commented 2 years ago

Waiting on merging of https://github.com/w3c/html-aam/pull/364 before finishing this PR

scottaohara commented 2 years ago

The only thing that will be out of sync with merging this PR is the dt and dl mappings in comparison with HTML AAM. https://github.com/w3c/html-aam/issues/373 will cover that. Since only those 2 elements won't be accurate until that AAM pr is merged, I think it's probably fine to pull this in now. I'm going to create a new issue regarding the other elements which still need updates per the TODO in the op.