mdn/content

The definition role does not permit aria-labelledby

Open

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

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Markdown (8,900 star) (22,427 fork)batch import
Content:Accessibilityhelp wanted

描述

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

贡献者指南