ARIA WG · TPAC 2026

Gen AI skills for ARIA work

Tips, prompts and reusable skills from real WG tasks

James Craig and James Nurthen · w3c/aria#2876

Arrow keys or Page Up/Down to move, Esc to exit

Slide 2 of 13

The next 30 minutes

Raise the floor, not show off the ceiling

Session agenda
TimePartWho
2 minWhy we’re hereJames N
15 minWorked example: labelling a11y tests in WPT, with tipsJames C
5 minSecond example: the ARIA PR review skillJames N
8 minDiscussion: where shared skills should liveEveryone

Out of scope: whether and how the WG should use AI at all. That’s w3c/aria#2796.

Slide 3 of 13

Tip 1

Give it more context than you think it needs

Instead of

make some test cases for aria-foo

Try

I’m a member of the ARIA WG, and I need to develop some test cases for aria-foo for this task issue <GitHub issue link>. We’re in my local copy of the WPT repository; existing accessibility tests include those in /accname, /wai-aria, /html-aam and more. There is a sibling repo at ../wpt-metadata with an identical hierarchy and META.yml files listing keywords/labels, including “accessibility”. Search that repo to understand which tests already cover accessibility. Note that aria-foo only became testable recently with WPT extensions including getAccessibilityProperties (see an example test in ./wai-aria/pressed) and the aamtests in ./core-aam/aamtests/. Read the GitHub issue, local docs and related tests. Start in planning mode before making any changes.

Slide 4 of 13

Tip 1, unpacked

What that prompt tells the agent

It needs to knowThe prompt says
Who you areA member of the ARIA WG
The taskA link to the GitHub issue
Where it is workingYour local WPT checkout and its a11y test folders
Related repos../wpt-metadata and its META.yml labels
What’s too new for it to knowgetAccessibilityProperties and the aamtests
An example to copy./wai-aria/pressed
How to startRead first, plan before changing anything

Slide 5 of 13

Worked example · wpt-metadata#9537

Accessibility tests that wpt.fyi couldn’t find

Many accessibility tests had no accessibility/a11y label in wpt-metadata, so they didn’t show up under label:accessibility on wpt.fyi.

  • Detect

    Find tests using get_computed_role / get_computed_label, ARIA test helpers, or ARIA/role file names

  • Label

    Whole directory where the suite is all accessibility; single files everywhere else

  • Follow convention

    Match how dpub-aam/ is already labelled; skip manual tests, which produce no CI results

Slide 6 of 13

Worked example · wpt-metadata#9537

What it labelled

Whole directory

core-aam/

The Core-AAM suite, a sibling of the already-labelled dpub-aam/

Single files inside non-a11y folders

  • custom-elements/
  • shadow-dom/reference-target/tentative/
  • html/interaction/focus/focusgroup/tentative/
  • html/semantics/menu/tentative/
  • html/semantics/permission-element/
  • html/semantics/popovers/
  • html/semantics/forms/the-select-element/customizable-select/
  • dom/nodes/moveBefore/

Slide 7 of 13

Tip 2 · What went wrong

It also labelled conformance-checkers/, and CI caught it

  1. 1 · Agent

    Adds labels to three conformance-checkers/ folders

  2. 2 · CI

    Path validation fails: those are support files for an external validator, not tests wpt.fyi runs

  3. 3 · Fix

    A second commit drops those labels; the PR merges

Check the output against something real: CI, the linter, wpt.fyi. “Looks right” isn’t a check.

Slide 8 of 13

Tip 3

When a task will come back, turn it into a skill

  • SKILL.md

    The judgment: what counts as an accessibility test, the labelling conventions, the exceptions (manual tests, conformance-checkers/)

  • script.py

    The mechanics: the repeatable search, so the agent doesn’t rediscover it (and spend tokens) every time

Labels drift as new tests land. Next time, anyone can rerun it. Where should it live? interop-accessibility#256

Slide 9 of 13

Second example · ARIA PR review skill

Reviewing a w3c/aria PR the way an editor would

  1. 1 · Gather

    Script pulls the PR, diff, linked issues, every suite spec and the WPT index

  2. 2 · Classify

    Editorial or normative? Affects authors, user agents or AT?

  3. 3 · Style

    ARIA and W3C style guides, on changed lines only

  4. 4 · Cross-spec

    Search every suite spec and ARIA in HTML for contradictions and needed follow-ups

  5. 5 · Tests

    Find existing WPT and validator tests; draft missing ones as .tentative

  6. 6 · Process

    Labels, ACT, APG, MDN, browser bugs, consensus, review count

Slide 10 of 13

Second example · ARIA PR review skill

Design choices worth copying

What you get

  • A verdict and blocking issues first
  • A cross-spec table, one row per spec
  • Style fixes as suggestion blocks
  • Existing tests, plus drafts of missing ones
  • A process checklist
  • Paste-ready GitHub review comments
WG knowledge lives in reference files
style.md, cross-spec.md, testing.md, process.md
A script does the fetching
Stays inside GitHub’s anonymous API limit
It says what it checked vs inferred
No silent “all clear”
It’s calibrated
Style is almost never blocking

Slide 11 of 13

Recap

Things to try this week

  • More context, not less

    Role, task link, repos, examples

  • Name what’s too new

    New APIs and specs it can’t know yet

  • Plan before changing

    Review the approach, then let it edit

  • Check against something real

    CI, linters, wpt.fyi, the spec text

  • Make repeat tasks skills

    Knowledge in reference files, mechanics in scripts

  • You own what you submit

    The agent drafts; you review and sign off

Slide 12 of 13

You own what you submit

One way to do it: the draft PR loop

  1. 1 · Draft

    The agent files a draft PR against the ARIA or WPT issue

  2. 2 · Self-review

    You review the diff on GitHub; the agent adds follow-up commits from your review

  3. 3 · Ready

    Only you move it from Draft to Ready for review

  4. 4 · Human review

    Other reviewers, often starting with their own agentic first pass

It depends on your workflow. Where GitHub and AI tools are built into the IDE (Xcode, Visual Studio), the loop may look different.

Slide 13 of 13

Discussion · 8 min

Where should shared skills live?

  • interop-accessibility

    Proposed in #256; close to the WPT work

  • w3c/aria

    Close to spec editing and PR review

  • One shared repo

    Both groups link to it; no duplicate copies

Also

  • Contribution and licensing for shared prompts and skills
  • What’s your review loop? Should PRs say when an agent helped?
  • A hands-on follow-up on a regular WG call in 6–8 weeks?