mdn/content

The definition role does not permit aria-labelledby

开放

#41,743 创建于 2025年10月30日

 (1 条评论) (0 个反应) (1 位负责人)Markdown (23,229 个派生)batch import
Content:Accessibilityhelp wanted

仓库指标

星标
 (10,950 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/definition_role

What specific section or headline is this issue about?

Description

What information was incorrect, unhelpful, or incomplete?

According to https://www.w3.org/TR/wai-aria-1.3/#definition, the definition should not reference the term using aria-labelledby as that's a prohibited property but the MDN documentation suggests to do that.

What did you expect to see?

A recommendation not to use aria-labelledby or aria-label matching the wai-aria spec.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

贡献者指南