mdn/content

Document accessibility considerations for Custom Highlight API

已关闭

#43,408 创建于 2026年3月11日

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

仓库指标

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

描述

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

贡献者指南