-
MathType
-
WirisQuizzes
-
LearningLemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Improving readability of MathType for Microsoft 365 equations with NVDA
Reading time: 1minMathType for Microsoft 365 generates accessible descriptions for equations in Microsoft Word. While this allows screen readers to correctly announce math expressions, MathType also includes a "MathML metadata" block at the end of the description. This metadata is necessary for the equations to remain editable, but it causes NVDA to read a long, confusing string of code (starting with {"mathml":...) immediately after the equation.
By using NVDA's Speech Dictionary with a Regular Expression, you can instruct NVDA to automatically detect and silence this metadata, leaving only the clean, spoken math description.
- Requirements: NVDA 2022.1 or newer
- Applies to: Equations made with MathType's add-in for Word in Office 365, and NVDA
Steps
-
Open the Dictionary:
PressNVDA+Nto open the menu. Go to Preferences > Speech Dictionaries > Default dictionary.
-
Add New Entry:
Tab to the Add button and pressEnter.
-
Enter the Pattern:
- Pattern: paste the following regex:\{"mathml":.*?\}
- Type: Select Regular Expression (use arrows to select).
- Replacement: Leave empty.
-
-
Save:
PressEnter(ok) to close the Add box, andEnter(ok) again to save the dictionary.
Verify it worked
- Open a Microsoft Word Document with MathType Add-in equations. You can download this example.
- Right-click the equation graphic and select View Alt Text to check the text description and the MathML.
- Open NVDA and select the equation again; you should not hear the MathML block.