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

Support for other file types (erb) #3980

Open
baweaver opened this issue Apr 9, 2023 · 4 comments
Open

Support for other file types (erb) #3980

baweaver opened this issue Apr 9, 2023 · 4 comments
Labels
feat New feature or enhancement linting Axe-linter issues

Comments

@baweaver
Copy link

baweaver commented Apr 9, 2023

Product

axe-core

Feature Description

I was looking into using the axe Accessibility Linter in VSCode for a Rails project, and was trying to find if there was an option to add additional file types to detection. In this particular case they would be x.html.erb files.

Is there a way to do this? If not could a configuration option be added to enable this? I appreciate that it will not be 100% supported on some of the ERB templating syntax, but it would still be potentially very useful even ignoring ERB.

@baweaver baweaver added feat New feature or enhancement ungroomed Ticket needs a maintainer to prioritize and label labels Apr 9, 2023
@dequelabs dequelabs deleted a comment from Sandrakay49 Apr 10, 2023
@straker
Copy link
Contributor

straker commented Apr 10, 2023

Thanks for the issue. At this time we can only support the languages listed in https://marketplace.visualstudio.com/items?itemName=deque-systems.vscode-axe-linter. Languages or templating languages outside of that support are not supported (even in a limited capacity), but we will note this as a feature request for ERB support.

@straker straker added linting Axe-linter issues and removed ungroomed Ticket needs a maintainer to prioritize and label labels Apr 10, 2023
@baweaver
Copy link
Author

Absolutely fair, it's a bit involved to do. Thanks for the reply!

@csrobinson86
Copy link

csrobinson86 commented Jul 7, 2023

Would definitely love to see this support .erb files as well.

@FayeDM
Copy link

FayeDM commented Jan 31, 2024

.php files - a lot of html is used in there. I was sad to see it didn't work. But I love the plugin idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or enhancement linting Axe-linter issues
Projects
None yet
Development

No branches or pull requests

4 participants