dequelabs/axe-core

Add "radiogroup should have an accessible name" as a best practice

Ouverte

#3 658 ouverte le 9 sept. 2022

 (8 commentaires) (0 réaction) (0 personne assignée)JavaScript (783 forks)batch import
feathelp wanted

Métriques du dépôt

Stars
 (5 457 étoiles)
Métriques de merge PR
 (Merge moyen 6j) (21 PRs mergées en 30 j)

Description

Product

axe-core

Feature Description

Hi axe-core folks, I am opening a new issue in the vein of https://github.com/dequelabs/axe-core/issues/3256.

I would like to be alerted when elements with role="radiogroup" don't have a name that can be programmatically determined. I like this suggestion of adding this as a best practice instead of a violation, given that WCAG and WAI-ARIA treat this requirement differently.

Even though a11ysupport.io marks this feature as only "partially supported" by JAWS, drilling down into the specifics shows that JAWS consistently knows about the radiogroup's name. This broad support makes "radiogroup should have a name" a strong candidate for being represented somehow in axe-core.

If this sounds generally good, I can fill out a new rule template.

Guide contributeur