-
Notifications
You must be signed in to change notification settings - Fork 788
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
Put label-same-as-description (from label / select-name) into its own rule #1325
Comments
Should be a best practice rule |
Looking at this some more. I don't think the current check is suitable to be put into its own rule. Doing a simple Instead, I'm going to enable this check for anyone who wants it in a custom rule, and I'm going to remove it from the |
@straker , can you please help me to get the html snippet to raise an issue for the rule |
@padmavemulapati You'll need to create a custom rule to use it since we don't have any rules that use it by default anymore. <input title="Username" aria-label="Select Username">
<script>
axe.configure({
rules: [
{
id: 'help-same-as-label',
any: ['help-same-as-label']
}
]
});
await axe.run()
</script> |
@straker , thank you , it is working with custom-rule configuration for Screen.Recording.2023-08-03.at.8.10.40.PM.mov |
@padmavemulapati Please add environment details in the closing comments. |
@somaalapati , axe-core tickets validating on the latest develop branch code base, and adding the |
The help-same-as-label check is the only check in axe-core disabled by default. This is confusing. We should either put it in its own rule, have it run as a best practice, or we should remove it.
The text was updated successfully, but these errors were encountered: