mdn / mdn/content

Popover API needs Accessibility Info

Open
#37,465 1 comment 0 reactions 0 assignees View on GitHub
Content:WebAPI help wanted
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### 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

Page report details

* Folder: `en-us/web/api/popover_api`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/popover_api/index.md
* Last commit: https://github.com/mdn/content/commit/e2ac6a94e71034b56a74142619e75e44140918e9
* Document last modified: 2024-11-22T01:13:24.000Z

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.