feat: add pa11y-ci for automated accessibility testing#435
Merged
Conversation
- Install pa11y-ci as dev dependency - Add .pa11yci configuration file with all 33 component pages - Configure to test against WCAG 2.0 AA standard - Add npm scripts for accessibility testing: - test:a11y: run pa11y-ci tests - test:a11y:local: start server and run tests - Document accessibility testing in README This enables automated accessibility testing for all UI components to ensure WCAG compliance.
- Add Total URLs tested with pass/fail ratio - Show total accessibility errors found - Display accessibility standard (WCAG 2.0 AA) - Show test engine (axe-core via pa11y-ci) - Keep top 10 components with most issues - Update README documentation
package.json
Outdated
| "@typescript-eslint/parser": "^7.18.0", | ||
| "browser-sync": "^3.0.3", | ||
| "chalk": "^5.5.0", | ||
| "cli-table3": "^0.6.5", |
Collaborator
There was a problem hiding this comment.
Hi @korel-san do you need these packages "chalk": "^5.5.0", and "cli-table3": "^0.6.5" I don't see where you use them.
Collaborator
Author
There was a problem hiding this comment.
@TerranceKhumalo-absa you are right, I've tried to prettify the stdout in different manners, and missed these packages..
These packages were initially added for custom formatting but are no longer needed since we use jq for colored output
TerranceKhumalo-absa
approved these changes
Aug 6, 2025
Collaborator
TerranceKhumalo-absa
left a comment
There was a problem hiding this comment.
Looks Good!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enables automated accessibility testing for all UI components to ensure WCAG compliance.
Release Notes:
test:a11y,test:a11y:summary, andtest:a11y:local