component-driven / component-driven/cypress-axe
Question: How to skip failures for some specific tags and throw errors for other tags?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 641
- Forks
- 90
- Avg merge
- 6h 8m
- Merged PRs (30d)
- 1
Description
Hi everyone, I'm new to cypress-axe. :)
I'm currently setting up cypress-axe for component testing and wanted to ask a question related to tags and assertions.
I want to throw an error if an element fails the 'wcag21a' criteria, but at the same time log errors from other tags such as 'cat.*' or 'best-practice'. Is there any preferred way we can change how the assertion works from the usage side?
Thanks in advance!!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the cypress-axe assertion usage for component testing and its tag configuration. Determine whether the usage API can log selected tags while throwing for wcag21a, then document the supported configuration and a minimal example. The issue names no files or tests, so repository exploration is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- testing-qa
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100