Skip to content

Conversation

korel-san
Copy link
Collaborator

@korel-san korel-san commented Aug 5, 2025

  • 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.


Release Notes:

  • Features
    • Integrated pa11y-ci for automated WCAG 2.0 AA accessibility testing
    • Added accessibility testing for all 33 UI components
    • Created colorful summary reports with detailed accessibility metrics
    • Added three new npm scripts: test:a11y, test:a11y:summary, and test:a11y:local

- 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.
@korel-san korel-san self-assigned this Aug 5, 2025
@korel-san korel-san added the enhancement New feature or request label Aug 5, 2025
- 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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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
Copy link
Collaborator

@TerranceKhumalo-absa TerranceKhumalo-absa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@korel-san korel-san merged commit 66a0f62 into master Aug 6, 2025
2 of 3 checks passed
@korel-san korel-san deleted the feature/accessibility-testing-integration branch August 6, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants