dequelabs/axe-core

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

Aperta

#3658 aperta il 9 set 2022

 (8 commenti) (0 reazioni) (0 assegnatari)JavaScript (783 fork)batch import
feathelp wanted

Metriche repository

Star
 (5457 stelle)
Metriche merge PR
 (Merge medio 6g) (21 PR mergiate in 30 g)

Descrizione

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.

Guida contributor