mdn/content

Popover API needs Accessibility Info

开放

#37,465 创建于 2025年1月1日

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

仓库指标

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

描述

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

There was no mention of accessibility semantics or how popovers are exposed to screen readers

What did you expect to see?

  1. How popovertarget / popover are exposed to screen readers
  2. Do developers still need to use aria-controls/aria-haspopup on the marked button
  3. Do developers still need to apply an aria-role to the element with the popup attribute

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

No response

Do you have anything more you want to share?

No response

MDN metadata

贡献者指南