Skip to content

Bug in reading <mtext> #626

Description

@TimArborealis

I've come across a few cases where a word in an <mtext> tag is not read as a word, but spelled out letter by letter. It only happens occassionally, and I have not been able to identify a pattern.

A couple of examples follow.

Markup:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <msub>
    <mi mathvariant="normal">H</mi>
    <mn>2</mn>
  </msub>
  <mi mathvariant="normal">O</mi>
  <mo>+</mo>
  <mtext>energy</mtext>
</math>

Output from NVDA:s speech log: "h 2 o plus e n e r g y"

Markup:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <msub>
    <mi mathvariant="normal">H</mi>
    <mn>2</mn>
  </msub>
  <mo>+</mo>
  <mtext>energy</mtext>
</math>

Output from speech log: "h 2 plus energy"

I get the same results in Swedish and English, regardless of verbosity setting. I have tried with different words and words separated by spaces, with similar results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions