Monika Zarczuk-Engelsma  profile picture
Monika Zarczuk-Engelsma | Have a Book
Posted on 16 April 2025

Math Formulas in Accessible Ebooks

Accessibility
Illustration promoting accessible math formulas in ebooks. Part of the #AccessibilityAcademy series. A girl studies various symbols and equations on a large screen, highlighting the need to make math and science content readable for everyone, including users of assistive technologies.

Introducing math formulas into ebooks is a significant challenge in the context of making them accessible for all users, including those who use screen readers. It is of vital importance to use the right content format, e.g. MathML, which contains mathematical logics of formulas and influences the quality and accessibility of mathematical content.

Formats Used to Represent Math Formulas

MathML (Mathematical Markup Language) is a language describing mathematical expressions, created with the aim to integrate mathematics with internet documents. It enables the semantic presentation of formulas, which is key for assistive tools, e.g. screen readers. This way, blind or visually impaired individuals are able to access mathematical content in a comprehensive and effective way.

An alternative approach is to use the LaTeX language, which has long been used to professionally edit scientific documents containing advanced math formulas. However, in order for formulas written in LaTeX to be correctly displayed in ebooks, it is necessary to use the right rendering tools, e.g. MathJax. MathJax is a JavaScript library which enables the display of math formulas on websites using the LaTeX, MathML or AsciiMath editors. However, JavaScript doesn’t work in the ePub format on most ebook readers, so it is not possible to use MathJax. Therefore, it is advisable to use MathML, which displays math formulas correctly, adjusts them to different screen sizes and is compatible with assistive technologies.

Displaying Formulas in the ePub and PDF Formats

Depending on an ebook’s format, the implementation and display of math formulas may vary:

  • ePub3: As the open standard for ebooks, ePub3 supports the integration of MathML, which enables a semantic and accessible presentation of math formulas. MathML works on most ebook readers. However, the way of rendering formulas might be a little different for different devices or applications.
  • PDF: Although the PDF format is frequently used, it has no native support for MathML. Math formulas are often rooted as pictures or using special fonts, which makes them a lot less accessible for screen readers. In order to make a pdf more accessible, alternative texts should be added.

Technical Challenges

The implementation of accessible math formulas in ebooks faces a number of challenges.

  • Compatibility: not all ebook readers display MathML formulas correctly, which makes it necessary to implement alternative solutions, like rooting formulas as pictures. This, however, makes them less accessible.
  • File format conversion: converting documents containing math formulas from one format to another (e.g. from LaTeX to MathML) may lead to the loss of information or incorrect rendering.

Requirements for Users Who Use Screen Readers

In order to make math formulas fully accessible for screen reader users, a few things should be taken into account:

  • Recording formulas semantically: Using MathML enables the conversion of the logical meaning of mathematical expressions, which makes it easier for screen readers to interpret them
  • Alternative descriptions: When it is not possible to use MathML, text descriptions of formulas or their alternative versions should be added so that screen reader users are able to understand mathematical content. Alternative texts in HTML and ePub2 can contain MathML.
  • Testing accessibility: testing ebook accessibility regularly using different screen readers makes it possible to identify and eliminate any problems that might occur.

Have a Book’s Comment:

At Have a Book, we believe in the “born accessible” approach, which means taking accessibility into account at the typesetting stage of preparing an ebook. When it comes to math formulas, even small mistakes might make them difficult to read for assistive technologies, which affects an ebook’s accessibility.

We usually prepare ebooks based on publications typeset in the Adobe InDesign program. For many years, math formulas did not work in that application and had to be prepared using specific extensions or external applications, e.g. MathType, MathMagic. In the latest version of InDesign, native support of formulas in the MathML format was added. Regardless of how one chooses to do it, math formulas need to be recorded using very specific operators. The overriding goal of all formula-recording technologies is to preserve their mathematical logic, not just their appearance. Texts handed over for typesetting often contain mistakes which alter the mathematical sense of an expression. It is of vital importance to notice them while preparing files.

Typical mistakes which might occur are:

  • Incorrectly marked variables – there are specific styles for variables, defining them incorrectly might lead to disorder, especially for people who use screen readers.
Blog post image
  • Incorrect spaces – MathML regulates distances when projecting a formula, adding unnecessary spaces might lead to mathematical operators being misinterpreted.
Blog post image
  • Incorrect use of parentheses – parentheses marked as text and not as a MathType, MathML or LaTeX function are going to be misinterpreted by screen readers. It is particularly problematic in expressions with multiple roots.
Blog post image
  • Using a hyphen instead of a minus sign – a formula containing a hyphen instead of a minus sign will not be read correctly.
Blog post image

Being aware of these problems and eliminating them at the typesetting stage helps create accessible publications.

Bibliography

https://www.w3.org/TR/MathML/

https://docs.mathjax.org/

https://www.latex-project.org/

https://karol-koziol.blogspot.com/2014/06/wyrazenia-matematyczne-na-stronach-www.html

https://www.aph.org/blog/making-math-more-accessible-monarchs-word-processor/

https://daisy.org/news-events/articles/creating-reading-accessible-math-w/

https://jaws.altix.pl/2020/06/05/dostepnosc-matematyki-dla-uczniow-i-studentow-z-roznymi-niepelnosprawnosciami-przeglad-rozwiazan/

https://asciimath.org

MZ

Monika Zarczuk-Engelsma

Monika Zarczuk-Engelsma was born in the Lublin region, and her early years were connected to a school for the blind in Kraków. She graduated from the Academy of Podlasie with a degree in Polish Philology, and then continued her education at the University of Gdańsk, obtaining a diploma in postgraduate studies in Partnership Marketing and Public Relations. This closely aligned with the position she was entrusted with at one of the non-governmental organizations in the Tricity area.

As part of expanding her professional experience, Monika participated in projects teaching computer skills to blind individuals, conducted training on volunteerism, tried her hand at copywriting, took part in the European Union’s European Voluntary Service project, and also secured an internship at the European Economic and Social Committee. Monika is now the office manager of the Polish Foundation for the Blind and Visually Impaired "Trakt.”

In her daily life, she uses Braille but also readily takes advantage of modern technology, such as an iPhone equipped with VoiceOver, a screen-reading laptop, a talking thermometer, and a bathroom scale that announces measurements in a clear female voice. Thanks to these tools, Monika achieves a high level of independence and is able to live the way she enjoys—actively and engagingly, meeting new people, working, reading books, and pursuing hobbies such as playing chess, board and card games, cooking, and traveling (she has already visited over 30 countries).

Currently, she is also raising two wonderful children, taking care of two already adult cats, and running her dream home with a garden.