Closed Arjunanpalanichamy closed 3 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
Hey @Arjunanpalanichamy do you mind sharing what version you are using of the vscode extension?
Thanks for your reply Michael-siek.. i have resolved this issue as of now..
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