Skip to content

MathJax 4 in firefox with NVDA #3413

@RichCaloggero

Description

@RichCaloggero

Issue Summary

Role of "img" used on speech output.

Steps to Reproduce:

  1. load mathjax into a webpage; by default mathjax4 comes up with the explorer enabled
    1. turn off braille generation

looking at the markup:

<mjx-speech aria-label="a is not equal to 0, math" role="img" aria-roledescription="�"></mjx-speech>

In your reply to (now closed) issue #3399 you claimed that using a role such as "tree" instead of "application" is semantically incorrect. So why are you using a role of "img" on the generated speech as shown above?

Also in your comment to the aforementioned issue, you said that role of "application" is still used in mathjax4, however I cannot find it at all in the generated HTML.

Technical details:

  • MathJax Version: 4.0
  • Client OS: wondows 10
  • Browser: firefox 141.0.3

I am using the following MathJax configuration:

MathJax = {
loader: {
load: [
"input/asciimath",
"output/svg",
] // components
}, // loader
}; // MathJax configuration

and loading MathJax via

<script id="MathJax-script" defer src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>

Supporting information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions