w3c / aria

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

JSON roleInfo.js is not updated #2234

Open giacomo-petri opened 5 months ago

giacomo-petri commented 5 months ago

The JSON file available at https://github.com/w3c/aria/blob/main/common/script/roleInfo.js is outdated. For instance, the aria-braillelabel property cannot be utilized in:

caption, code, definition, deletion, emphasis, generic, insertion, mark, none, paragraph, strong, subscript, suggestion, superscript, term, time

(and presentation, which is a synonym of none), but the JSON file does not include this information.

Moreover, the array associated with the "allProps" key appears to be unnecessary.

pkra commented 5 months ago

I believe that file currently only gets updated on REC.

But, yes, there are several bugs. Some I've documented as part of my (dare I say "ongoing") work at https://github.com/w3c/aria-common/pull/106

giacomo-petri commented 5 months ago

+ image role is missing parentRoles: ["section"]

pkra commented 5 months ago

@giacomo-petri see https://github.com/w3c/aria/issues/2073 and https://github.com/w3c/aria/issues/2165