dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.75k stars 746 forks source link

axe DevTools Linter Accessibility #4482

Closed Arjunanpalanichamy closed 3 weeks ago

Arjunanpalanichamy commented 4 weeks ago

I have created a axe-linter.yml file following code

rules:

heading-order: true # Disable this rule

html-has-lang: false # this rule is disabled for all files

button-has-role: false # this rule is disabled for all files

img-has-alt: true # this rule is disabled for all files

image-alt: false

exclude:

Expectation: linter extension will highlight axe rule violations in HTML code

Actual: The linter immediately yields the error Unable to start axe-linter

Motivation: I want the linter to run correctly in order to test my frontend code

But not reading this yml in VScode and not execute axe-lint

i have copied this yml file path : C:\Users\username\axe-linter.yml

can help to resolve this issue.

thanks

michael-siek commented 4 weeks ago

Hey @Arjunanpalanichamy do you mind sharing what version you are using of the vscode extension?

Arjunanpalanichamy commented 4 weeks ago

Thanks for your reply Michael-siek.. i have resolved this issue as of now..

image