Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with tag "wcag22aa" #4673

Open
1 task done
git288hub opened this issue Jan 20, 2025 · 0 comments
Open
1 task done

Problem with tag "wcag22aa" #4673

git288hub opened this issue Jan 20, 2025 · 0 comments
Labels
ungroomed Ticket needs a maintainer to prioritize and label

Comments

@git288hub
Copy link

git288hub commented Jan 20, 2025

Product

axe-core

Product Version

4.10.2

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

I just want to enable 'wcag22aa' tag to run tests on my website. In documentation I saw below "WCAG 2.2 Level A & AA Rules" info: "These rules are disabled by default, until WCAG 2.2 is more widely adopted and required."

I executing axe-core.run() via:

&{results}= Run Accessibility Tests result_file=${path}/result_${view}.json context=${contextLoc} options=${optionsSpec}

in variable ${optionsSpec} = {rules: [{ tags: ['wcag22aa'], enabled: true }]}
or I also tested ${optionsSpec} = {runOnly: {type: 'tag', values: ['wcag22aa']}}

I use axe-core with Robot Framework with libraries:

  1. robotframework-axelibrary==0.1.5
  2. axe-selenium-python==2.1.6 (it uses [email protected])

Actual

I get error on firefox:
Exception has occurred.
Suspended due to logged failure: TimeoutException: Message: Timed out after 5000 ms

using chrome:
Exception has occurred.
Suspended due to logged failure: TimeoutException: Message: script timeout
(Session info: chrome=132.0.6834.84)

How to Reproduce

Additional context

I also tested other tags like a: {"runOnly": {"type": "tag", "values": ["wcag21aa", "wcag2a"]}} and everything works fine (in 11 different tests with different context locators), but when I'm trying to add "wcag22aa" I got error. In my tests I use selenium robotframework-seleniumlibrary==6.5.0 and when I extended timeout to 30s the error also occured.

@git288hub git288hub added the ungroomed Ticket needs a maintainer to prioritize and label label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ungroomed Ticket needs a maintainer to prioritize and label
Projects
None yet
Development

No branches or pull requests

1 participant