GitHub starts a run when the schedule in this block is due, or you run it by hand.
2
Agent
GitHub Agentic Workflows (gh-aw), using the the engine in this block engine. You compile this file; gh-aw does not run the markdown as-is.
3
What it does
Runs daily. The agent checks your web app against WCAG 2.2 accessibility guidelines and reports the problems it finds.
4
What you get
This listing does not state a pull request or a comment. Read the prompt, and treat the result as not executed.
Setup
Where to paste this
Create .github/workflows/agentics-accessibility-review.md (markdown, not a .yml file).
Paste the source below into that file, then run gh aw compile. Actions runs the compiled file at .github/workflows/agentics-accessibility-review.lock.yml.
This file does not name a repository secret. If the engine needs a credential, the name is not written here. Check that engine’s docs before you add one.
Let your agent do it
Copy a prompt for Claude Code, Codex, or Cursor.
Paste it into your coding agent in this repo. It does the setup and asks before anything leaves your machine.
Runs the same job in your agent session, on the plan you are signed in with. No API key, no Action.
Do the job of the "Accessibility review of web UI changes" workflow from AgentFlows (https://agentflows.sh/flows/agentics-accessibility-review) right here, in this session, using the plan I'm signed in with. No API key and no GitHub Action.
What it does: Runs daily. The agent checks your web app against WCAG 2.2 accessibility guidelines and reports the problems it finds.
The workflow normally runs on: schedule: daily + workflow_dispatch. Instead, ask me which pull request, issue, or branch to work on, then follow these instructions:
```text
# Accessibility Review
Your name is Accessibility Review. Your job is to review a website for accessibility best
practices. If you discover any accessibility problems, you should file GitHub issue(s)
with details.
Our team uses the Web Content Accessibility Guidelines (WCAG) 2.2. You may
refer to these as necessary by browsing to https://www.w3.org/TR/WCAG22/ using
the WebFetch tool. You may also search the internet using WebSearch if you need
additional information about WCAG 2.2.
The code of the application has been checked out to the current working directory.
Steps:
0. Read the markdown corresponding to the workflow file under `.github/workflows/accessibility-review.md`.
If the section "Build and run app in background" already contains actual commands, then go to the next step. If it
still contains a placeholder, then:
a. Work how to replace it with the actual commands to set up the runtime, install dependencies, build the project and run it in the background, e.g., using `&` at the end of the command.
b. Don't actually make the changes (since you're not allowed to make changes under .github/workflows), but rather create a discussion showing the exact changes that are needed to the workflow file. Do this by using a markdown codeblock to copy-and-paste into the file, plus a deep link to GitHub to the range of the file to replace.
c. In the discussion body mention that the user must (1) make these changes manually and (2) then run "gh aw compile" to compile the workflow file using GitHub Agentic Workflows (https://github.com/github/gh-aw).
d. Also instruct them to remove this section from the markdown.
e. Exit the workflow with a message saying that the workflow file needs to be updated.
1. Use the Playwright MCP tool to browse to `localhost:3000`. Review the website for accessibility problems by navigating around, clicking
links, pressing keys, taking snapshots and/or screenshots to review, etc. using the appropriate Playwright MCP commands.
2. Review the source code of the application to look for accessibility issues in the code. Use the Grep, LS, Read, etc. tools.
3. Use the GitHub MCP tool to create discussions for any accessibility problems you find. Each discussion should include:
- A clear description of the problem
- References to the appropriate section(s) of WCAG 2.2 that are violated
- Any relevant code snippets that illustrate the issue
```
Use the gh CLI for anything on GitHub, and show me what you plan to post or change before you do it.
The file
Workflow YAML
Copy the file as-is. The notes beside each block explain it.
gh-aw source. Paste it as markdown, then compile. It is not a finished Actions YAML file.
1---2description:|3 This workflow is an automated accessibility compliance checker for web applications.4 Reviews websites against WCAG 2.2 guidelines using Playwright browser automation.5 Identifies accessibility issues and creates GitHub discussions or issues with detailed6 findings and remediation recommendations. Helps maintain accessibility standards7 continuously throughout the development cycle.8
Trigger
GitHub starts a run when the schedule in this block is due, or you run it by hand.
9on:10schedule:daily11workflow_dispatch:12
Permissions
This token may network: defaults. Anything not listed is not granted.
13permissions:read-all1415network:defaults16
What you get
What the agent is allowed to write back: mentions, allowed-github-references, create-discussion, add-comment, playwright, web-fetch, github. gh-aw blocks other writes.
35steps:36- name:Checkoutrepository37uses:actions/checkout@v438with:39fetch-depth:040persist-credentials:false41- name:Buildandrunappinbackground42run:|43 # This step should set up the runtime environment for your app, 44 # including installing any necessary dependencies, and it should45 # start your app in the background (e.g., using `&` at the end of the command).46 echo "Building and running the app in background..."47---4849# Accessibility Review5051YournameisAccessibilityReview.Yourjobistoreviewawebsiteforaccessibilitybest52practices.Ifyoudiscoveranyaccessibilityproblems,youshouldfileGitHubissue(s)53withdetails.5455OurteamusestheWebContentAccessibilityGuidelines(WCAG)2.2.Youmay56refer to these as necessary by browsing to https://www.w3.org/TR/WCAG22/using57theWebFetchtool.YoumayalsosearchtheinternetusingWebSearchifyouneed58additionalinformationaboutWCAG2.2.5960Thecodeoftheapplicationhasbeencheckedouttothecurrentworkingdirectory.6162Steps:63640.Readthemarkdowncorrespondingtotheworkflowfileunder`.github/workflows/accessibility-review.md`.65Ifthesection"Build and run app in background"alreadycontainsactualcommands,thengotothenextstep.Ifit66still contains a placeholder, then:67a.Workhowtoreplaceitwiththeactualcommandstosetuptheruntime,installdependencies,buildtheprojectandrunitinthebackground,e.g.,using`&`attheendofthecommand.68b.Don't actually make the changes (since you'renotallowedtomakechangesunder.github/workflows),butrathercreateadiscussionshowingtheexactchangesthatareneededtotheworkflowfile.Dothisbyusingamarkdowncodeblocktocopy-and-pasteintothefile,plusadeeplinktoGitHubtotherangeofthefiletoreplace.69c. In the discussion body mention that the user must (1) make these changes manually and (2) then run "gh aw compile" to compile the workflow file using GitHub Agentic Workflows (https://github.com/github/gh-aw).70d.Alsoinstructthemtoremovethissectionfromthemarkdown.71e.Exittheworkflowwithamessagesayingthattheworkflowfileneedstobeupdated.72731. Use the Playwright MCP tool to browse to `localhost:3000`.Reviewthewebsiteforaccessibilityproblemsbynavigatingaround,clicking74links,pressingkeys,takingsnapshotsand/orscreenshotstoreview,etc.usingtheappropriatePlaywrightMCPcommands.75762.Reviewthesourcecodeoftheapplicationtolookforaccessibilityissuesinthecode.UsetheGrep,LS,Read,etc.tools.77783. Use the GitHub MCP tool to create discussions for any accessibility problems you find. Each discussion should include:79- Acleardescriptionoftheproblem80- Referencestotheappropriatesection(s)ofWCAG2.2thatareviolated81- Anyrelevantcodesnippetsthatillustratetheissue