In this post, we review how to add accessible formulas to content.

## What are formulas?

Formulas refer to math equations and science formulas.

**File types used:** LaTex, MathType

## Who are you doing this for?

This work supports students who:

- Are blind or have low vision
- Have a form of cognitive disability
- Have a physical disability

## What do you need to do?

There are several ways to handle equations, from images with alt tags to MathML. Having access to an equation editor such as MathType or MathMagic can streamline processing and converting equations. These tools are similar to equation editors found in the Angel HTML Editor and Microsoft Office.

Attribution: Original artwork by Hilda Anggraeni (BCcampus)

## MathML

Math ML is a text-based XML (short for “extensible markup language”) designed for math equations. Browsers that support MathML are able to translate the XML into a formatted equation. Since MathML with MathJax can be rendered in many systems, including HTML, sites at Penn State, Angel and Drupal, it is considered the best choice for accessibility.

Here is information about creating and viewing MathML.

MathML may vary from system to system and the content can change rapidly.

## Image with an alt tag

A safe option is to create an image of an equation (or export it from an equation editor) and then insert the image into a document with an alt tag.

Note: Alt tags can be written in Nemeth MathSpeak for students who have learned that system.

**Example 1: An equation in HTML**

## LaTeX

LaTeX is a math markup language familiar to many in the science and math community. Unfortunately, it is not currently supported by screen reader technology. It is, however, fairly simple to convert LaTeX to an image or MathML in most equation editors.

To import LaTeX, follow these steps in MathMagic and MathType:

- Copy a piece of LaTeX code (like the one below) into an equation editor’s main editing window.

m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}

- The equation should appear fully formatted. Make minor adjustments as needed.

At a BCcampus user-testing session, students indicated that it would be helpful to place an audio file of the formula or equation alongside each, allowing the user to hear exactly how the formula or equation should be interpreted.

**Example 2: An equation with audio**

Here is an audio file for a math equation.

## Additional resources

**Math accessibility at Portland Community College**

In 2012, Portland Community College departments took a closer look at making math accessible to blind students. Read more about the math accessibility study.

Watch Math Accessibility at Portland Community College. (This video is an open educational resource.)

**Attribution for this post: **This chapter is a derivative of Equations: MathML, Images and LaTeX by Penn State. Penn State has provided permission to the authors to use this information and to include it as part of this openly licensed (CC BY) toolkit.

**Learn more:**