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
Pseudo events not supported with accessibility rule #888
Comments
Since we're talking about accessibility, that thing's supposed to be a button, not an anchor. |
@lazarljubenovic In this case |
It's an anchor tag without |
@lazarljubenovic Ok noted, thanks for the advice. However it doesn't resolve the main problem with pseudo events. Here is an other example without link element : <div class="card-front" (click)="flipCard(person)" (keyup.enter)="flipCard(person)">
<h3>{{person.name}}</h3>
</div> The rule should cover this case as described here.
But it fails when using pseudo events. |
Yeah, sorry for side-tracking the topic 🙏 You're completely correct that it's a bug (or, well, a missing feature) in Codelyzer. |
@mohammedzamakhan do you think you can alter the rule |
yes we can update it to handle it, I will take a look into it |
Fixed in #893 |
Describe the bug
Hi, I would like to use accessibility rules as described here but they don't support pseudo events.
Context and configuration
Please share:
Expected behavior
Support of pseudo events for accessibility rules.
Code
The text was updated successfully, but these errors were encountered: