Skip to content

feat(unit-testing): Add axe-core support in ng-unit-testing library for accessibility testing utilities#130

Open
david-d-k wants to merge 10 commits into
masterfrom
feature/a11y-unit-testing
Open

feat(unit-testing): Add axe-core support in ng-unit-testing library for accessibility testing utilities#130
david-d-k wants to merge 10 commits into
masterfrom
feature/a11y-unit-testing

Conversation

@david-d-k

Copy link
Copy Markdown
  • Provide axe-core helper functions for unit tests in @ppwcode/ng-unit-testing.
  • Add a11y unit tests on demo components & fix failures.

@david-d-k david-d-k changed the title A11Y unit testing Add axe-core support in ng-unit-testing library for accessibility testing utilities Apr 24, 2026
Comment thread projects/ppwcode/ng-common-components/src/lib/loader/loader.component.html Outdated
Comment thread src/app/expandable-card/expandable-card-demo.component.spec.ts Outdated
Comment thread projects/ppwcode/ng-common-components/src/lib/table/table.component.html Outdated

@MarkCuypersPpw MarkCuypersPpw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suggest that the 2nd commit is split up in 2 commits:

  • 1 that fixes the A11y issues in our components.
  • 1 that adds the new unit tests to prevent A11y issues.

@david-d-k david-d-k force-pushed the feature/a11y-unit-testing branch from 946e606 to ec2f293 Compare July 6, 2026 08:30
@david-d-k david-d-k force-pushed the feature/a11y-unit-testing branch from ec2f293 to a7fa7ed Compare July 6, 2026 08:52
<mat-progress-bar
mode="indeterminate"
type="progressbar"
[aria-label]="'common-components.loader.loading' | translate"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As discussed through Slack, we'll need a way to provide these keys.

@glenstaes glenstaes changed the title Add axe-core support in ng-unit-testing library for accessibility testing utilities feat(unit-testing): Add axe-core support in ng-unit-testing library for accessibility testing utilities Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants