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

axe DevTools Linter Accessibility #4482

Closed
Arjunanpalanichamy opened this issue May 30, 2024 · 2 comments
Closed

axe DevTools Linter Accessibility #4482

Arjunanpalanichamy opened this issue May 30, 2024 · 2 comments
Labels
linting Axe-linter issues

Comments

@Arjunanpalanichamy
Copy link

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:

  • meta-refresh.html
  • 'tests/**/*.html' # Skip files
  • '*.tmp' # Skip the temp files

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

@straker straker added the linting Axe-linter issues label May 30, 2024
@michael-siek
Copy link
Member

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

@Arjunanpalanichamy
Copy link
Author

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

image

@straker straker closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting Axe-linter issues
Projects
None yet
Development

No branches or pull requests

3 participants