https://bugs.documentfoundation.org/show_bug.cgi?id=159364

--- Comment #3 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to V Stuart Foote from comment #1)
> Not clear if the MathML can be directly exposed to the Assistive Technology
> of Screen Readers, which themselves would need filters to read the MathML in
> a non-HTML5 context.

A quick `git grep -i mathml` in NVDA's source code suggests that there's some
specific handling for MathML for Word and other applications, e.g. [1] for
Word.

One way to expose MathML to the a11y layer (if there's an easy way to get a
MathML representation from within Math) might be to us an a11y object
attribute, similar to what's done for formulae in Calc (e.g. a "Formula" object
attribute with value "45+12" on a cell that contains such a formula).

(Object attributes are supported by at least IAccessible2 on Windows and AT-SPI
on Linux, though currently only Gtk 3/ATK provides the API to expose custom
attributes, s.a. discussion in tdf#158030 for more details and links to Gtk 4
issue and pending Qt Gerrit changes. Not sure about macOS, but from what I've
seen so far, the API seems more strongly typed/less flexible there.)

[1]
https://github.com/nvaccess/nvda/blob/e71916d0ff6fff3949507e625559b39f00f8f7ec/source/NVDAObjects/UIA/wordDocument.py#L148

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to