Accessibility linting with GitHub Actions
Run ZemDomu on pull requests so semantic findings are visible in CI alongside editor and local CLI feedback.
Add the workflow
Create a workflow in the repository and pass the source patterns that should be checked.
name: ZemDomu Semantic Checks
on: [pull_request]
jobs:
zemdomu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Zemdomu/ZemDomu-action@main
with:
files: |
**/*.{html,jsx,tsx,vue}Read failures as source feedback
When the job fails, use the annotation's file, line, and rule code to find the source. Open the matching rule page for examples and confirm the correction locally before pushing again.
Troubleshoot the checked files
If expected files are missing, review the workflow pattern and repository paths. If a finding depends on runtime behavior, reproduce it in the browser and use the appropriate rendered accessibility test rather than suppressing the source warning blindly.