Improve type definitions of ARIA attributes for HTML elements
Opened this issue · 1 comments
inad9300 commented
The type definitions of ARIA attributes for SVG elements is well defined thanks to the information available at https://www.w3.org/TR/SVG2/attindex.html. Similar information should be possible to obtain for HTML elements, which at the moment all accept any ARIA attribute. One possible source for this is https://www.w3.org/TR/html-aria/#docconformance, although the format is at first sight not the easiest to parse.
inad9300 commented
It may be worth waiting for https://github.com/WICG/aom to be available and TypeScript to catch up...