Skip to content

Experiment with JSON to generate Core-AAM mapping tables#2744

Draft
spectranaut wants to merge 8 commits intomainfrom
core-aam-generate-tables
Draft

Experiment with JSON to generate Core-AAM mapping tables#2744
spectranaut wants to merge 8 commits intomainfrom
core-aam-generate-tables

Conversation

@spectranaut
Copy link
Contributor

@spectranaut spectranaut commented Mar 10, 2026

🚀 Netlify Preview:
🔄 this PR updates the following sspecs:

Closes: w3c/core-aam#258

Extracting the data wasn't too hard -- especially with the help of generative AI to write the extraction and generation scripts. I added the extraction script but in the long run I don't think anything like that would be checked in.

Some questions are:

  • Is editing a JSON like this better than editing tables?
  • Can we actually use this JSON to write tests?

About test writing:

  • We would need to add more metadata in order to to this. For example, the "test" html, like <div id="test" role="blockquote"></div>. Sometimes we will want to test variations in the markup as well.
  • Also, not everything will be so easy to programmatically write tests from the prose alone, so we would have to mark/know which things could auto generate tests and which can't?

@netlify
Copy link

netlify bot commented Mar 10, 2026

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 0fe5daa
🔍 Latest deploy log https://app.netlify.com/projects/wai-aria/deploys/69af6ccc0e994600083609cd
😎 Deploy Preview https://deploy-preview-2744--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Contributor

🚀 Deployed on https://deploy-preview-2744--wai-aria.netlify.app

@github-actions github-actions bot temporarily deployed to pull request March 10, 2026 01:00 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create more machine readable source of truth for mapping tables - use for tests also

1 participant