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

Not able to apply tags to axe #35

Open
fede-serena opened this issue Oct 9, 2024 · 11 comments
Open

Not able to apply tags to axe #35

fede-serena opened this issue Oct 9, 2024 · 11 comments

Comments

@fede-serena
Copy link

Every time I try to use any other tag different than the default ones I'm getting an empty report:

axeRunner.setTags(AxeTag.WCAG21AA);

@sridharbandi
Copy link
Owner

Can you let me know the url you are using?

@fede-serena
Copy link
Author

Try with google.

This is what I get if I run with default settings without setting AxeTags
image

And this is what I get if I set 21AA
image

@sridharbandi
Copy link
Owner

sridharbandi commented Oct 10, 2024

Set the tag as below. I can see it works.
axeRunner.setTags(AxeTag.SECTION508);

image

@fede-serena
Copy link
Author

I see it working also if I use SECTION508. But if try with this one: axeRunner.setTags(AxeTag.WCAG21AA); it doesn't return anything

@sridharbandi
Copy link
Owner

I see it working also if I use SECTION508. But if try with this one: axeRunner.setTags(AxeTag.WCAG21AA); it doesn't return anything

It might be because, it didn't have any violations with that Tag. I tested it with few other URLs and can see setTags is working
image

@fede-serena
Copy link
Author

I do have violations in the page I'm testing, I know because with the chome extension I do see errors.

Also, you are trying with WCAG2AA, could you please try with WCAG21AA?

@sridharbandi
Copy link
Owner

I do have violations in the page I'm testing, I know because with the chome extension I do see errors.

Also, you are trying with WCAG2AA, could you please try with WCAG21AA?

I am not seeing any issues in the chrome plugin.
image

@fede-serena
Copy link
Author

let's try with this page: https://paraisolinux.com/que-es-una-vpn-y-cual-es-recomendable-para-linux/

with chrome extension I'm getting this:
image

but with this package I'm getting this:
image

@sridharbandi
Copy link
Owner

let's try with this page: https://paraisolinux.com/que-es-una-vpn-y-cual-es-recomendable-para-linux/

with chrome extension I'm getting this: image

but with this package I'm getting this: image

Not exactly sure, why the Chrome extension shows WCAG 2.1 AA. But the results are showing for WCAG2AA, WCAG2A and WCAG2AAA.
image

@fede-serena
Copy link
Author

fede-serena commented Oct 10, 2024

ok, but what happens with the java-a11y package? are you getting any result if you set axeRunner.setTags(AxeTag.WCAG21AA);=?

@sridharbandi
Copy link
Owner

ok, but what happens with the java-a11y package? are you getting any result if you set axeRunner.setTags(AxeTag.WCAG21AA);=?

No Results. As I quoted earlier, even in the chrome plugin, it was mentioned WCAG 2.1 AA, but the results are not matching with WCAG 2.1 AA. Not sure how that plugin works.

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

No branches or pull requests

2 participants