w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
654 stars 125 forks source link

Roles in WAI ARIA missing categorization types (1.2 & 1.3) #2165

Open shamiguel opened 8 months ago

shamiguel commented 8 months ago

Hi, I'm currently going through all the roles in ARIA 1.2 & ARIA 1.3 and noticed two roles that are not listed under a Categorization of Roles section. In ARIA 1.2, the "code" role seems to be the only role that does not have a categorization type. In ARIA 1.3 however, it is listed under the "document structure" category type (https://www.w3.org/TR/wai-aria-1.3/#document_structure_roles).

Additionally, the "image" role, although a synonym of img which itself is of "document structure" type, isn't included under the Document Structure roles section. Other synonyms, like "none" and "presentation", are listed in the same categorization type.

I was wondering if it would be helpful to include a note in ARIA 1.2 about the "code" role's lack of type and illustrate it's change between the two versions? Also if it would be possible to include the "image" role under the "document structure roles" along with its synonym, img?

Thank you!

pkra commented 7 months ago

Since aria-common has known issues with synonyms right now (#2073), that part should probably be solved simultaneously.

As mentioned, the issue with the code role has since been resolved.