[LOCKLITE-149] Add e2e library to test accessibility#111
Merged
Conversation
This reverts commit 5cc3191.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces automated accessibility testing infrastructure using pa11y-ci and implements several accessibility improvements across the UI. The changes focus on establishing automated a11y testing capabilities and fixing color contrast issues to meet WCAG2AA standards.
- Adds pa11y-ci library and configuration for automated accessibility testing
- Updates primary color scheme in both light and dark themes for better contrast
- Implements accessible color palette for avatar components and adds proper labels
Reviewed Changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/pa11y/config.json | Configures pa11y-ci for automated accessibility testing with WCAG2AA standard |
| src/projects/ui/themes/light.theme.ts | Updates primary color for improved contrast compliance |
| src/projects/ui/themes/dark.theme.ts | Updates primary color for improved contrast compliance |
| src/projects/ui/components/navigation/SearchBar.tsx | Adds accessibility label to search input field |
| src/projects/ui/components/avatars/ColorfulLetterAvatar.tsx | Replaces random color generation with predefined accessible colors |
| package.json | Adds pa11y-ci dependency and npm script for accessibility testing |
| docs/ACCESSIBILITY.md | Updates documentation to reflect automated color contrast checking |
| Makefile | Adds new targets for starting server and running accessibility tests |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This reverts commit f186f92.
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.
No description provided.