mdn/content

Document accessibility considerations for Custom Highlight API

Open

#43408 opened on Mar 11, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Markdown (8,900 stars) (22,427 forks)batch import
Content:WebAPIgoal: best practiceshelp wanted

Description

MDN URL

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

What specific section or headline is this issue about?

Missing Accessibility section

What information was incorrect, unhelpful, or incomplete?

The site should have a paragraph about how the API is supported by assistive technology, like many other MDN pages (e.g. <mark>). Correct me if I'm wrong, but as of right now there does not seem to be much information about the support of assistive technology with the Custom Highlight API (besides a CSS wg thread from 2021). It is important to add this kind of information, because people using this API might not be aware of the implications using this, since from the outside it could look like it is well supported. There is no mention what the "type" is supposed to do and how well it is supported in screen readers.

What did you expect to see?

An explanation of the current state of accessibility of this API.

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

No response

Do you have anything more you want to share?

No response

MDN metadata

Contributor guide