MathMl for Accessible Math Markup

by Damian Sian

In order to create semantically accurate math equations that are accessible to people of diverse abilities, it is imperative to leverage the power of MathMl. MathMl is a markup language that provides semantic understanding and proper syntax to assistive technologies like screen readers. Princeton's instance of the Drupal CMS now offers users the ability to author semantically accurate math equations with the use of LaTEX. These features can be turned on in the configuration of your site, speak with Web Development Services for technical assistance.

Sample Equation

In this sample equation we are trying to communicate that one half plus one half equals one. Drupal content authors can now enter LaTEX short hand to produce MathMl formatted math equations. The equations will be rendered through the MathJax javascript library in a user's web browser. 


To render this equation in Drupal add the LaTEX shorthand of \frac{1}{2}+\frac{1}{2}=1 surrounded by double dollar signs ($$) and Drupal will render the properly formatted MathMl via the MathJax library. 

Experience With a Screen Reader

Using the JAWS screen reader version 16 on Internet Explorer 10 the following is read aloud by the synthesized voice: 

Output from the screen reader reads: 

One half plus one half equals one; math content.

Why Not Use an Image With Alt Text?

Whereas an alternative text description on an image of a math equation is better than nothing, it still a violation of Success Criterion 1.4.5 Images of Text. Presenting an equation as an image denies the ability of the non-sighted user to derive the understanding through semantics in an equivalent fashion to a sighted user. The example in this post is a very simple one but imagine a complex math equation. In oder to deliver a fair and inclusive experience, we should be using proper markup for math equations that is available via MathMl. 


World Wide Web Consortium's site on MathMl

Princeton University Beginner's Guide to LaTEX

Free LaTEX complier