dequelabs/axe-core

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

开放

#3,658 创建于 2022年9月9日

 (8 条评论) (0 个反应) (0 位负责人)JavaScript (783 个派生)batch import
feathelp wanted

仓库指标

星标
 (5,457 个星标)
PR 合并指标
 (平均合并 6天) (30 天内合并 21 个 PR)

描述

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.

贡献者指南