You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assistive technology should hear a Markdown heading (or any heading-like text) as a heading with its level, as HTML's <h1>–<h6>.
Today:NodeHandle::role requires a node that senses, and a text node's text is announced through its selectable label as Role::Label. A heading made with b.spans(..) therefore reads as plain text.
To do: a way to give non-sensing text a role and a level (accesskit Role::Heading + set_level), e.g. a text-node role that the label selection's widget info carries, without making the node sense the pointer. The Markdown widget (#254) then marks its headings.
Found while building #254; part of the docs-site accessibility work (#259).
Activity