w3c / html-aria

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

Generate a JSON version of the ARIA in HTML requirements #416

Open jongund opened 2 years ago

jongund commented 2 years ago

I have created a script to generate a JSON file of the ARIA in HTML specification requirements for use in an evaluation tool I support. I think JSON version of the requirements would be useful to others and would like the working group to consider generating a JSON version of the specification requirements in addition to the document version. This type of resource would make it much easier and for tools to integrate the latest version of the specs into their tools. Tools would also be more consistent in implementing spec requirements.

Example JSON file: [https://github.com/opena11y/evaluation-library/blob/dev/v2.0/src/aria-in-html/ariaInHtmlInfo.json]

Example script to generate JSON from the spec: [https://github.com/opena11y/evaluation-library/blob/dev/v2.0/src/aria-in-html/generate-aria-in-html.js]