Case StudiesBlogAboutCareers Graveiens AI ↗
Accessibility

Accessible Math in EPUB and Digital Textbooks: MathML, Alt Text and Testing

Share
Cover graphic: a blurry, pixelated image of a fraction is crossed out, and an arrow points to a MathML tree (mfrac with msqrt over a, and b) beside headphones, showing math a screen reader can speak.

Last updated: November 2026

Key takeaways

  • Accessible math is math that a screen reader can speak, a reader can explore term by term and a braille display can show. In EPUB 3, that means MathML in the content, not pictures of equations.
  • An equation image with alt text is a fallback for older reading systems. It reads as one flat string, and the reader cannot step through it or get math braille from it.
  • Declare what you built. The schema.org accessibilityFeature values MathML and describedMath tell readers, retailers and buyers that equations are coded and described.
  • Checkers confirm valid markup, not correct speech. Every title needs a read-back test with a screen reader and a math engine such as MathCAT.
  • Public colleges in the US work to WCAG 2.1 AA under ADA Title II, and ebooks sold in the EU fall under the European Accessibility Act. Both make accessible math a buying requirement.

Most STEM ebooks still carry equations as images. A sighted student sees a fraction under a square root. A blind student hears “image,” or one long string of alt text with no way to step back through the numerator. That gap fails readers, and it now fails procurement reviews at colleges and EU retailers.

This guide shows production teams how to deliver accessible math in EPUB and digital textbooks. It covers MathML markup, where alt text still fits, the metadata to declare and how to test with real assistive technology. If you would rather hand the work off, our digital EPUB conversion team builds math-heavy titles to these rules.

Have a math-heavy title? Send us one chapter to pilot and see your equations returned as tested MathML.

What is accessible math in EPUB?

Accessible math in EPUB is math coded as MathML inside the book’s XHTML, so assistive technology can read its structure. A screen reader can then speak the equation, let the reader move through it one part at a time and pass it to a braille display. An equation image, even with good alt text, offers none of that.

Equations shipped as images fail readers in five ways:

  • They flatten structure. A reader hears the whole expression at once and cannot jump back to the denominator or the exponent.
  • They do not reflow. Images blur when zoomed and ignore the reader’s font, size and color settings.
  • They cannot be searched or copied. Students cannot paste the expression into a calculator or notes.
  • They block math braille. A braille reader gets nothing unless someone rekeys the equation.
  • Alt text quality varies. Long equations turn into a wall of words, and two writers rarely voice them the same way.

Simple inline math has its own trap. The DAISY Knowledge Base notes that equations such as “x + y = z” are often left as plain text, and assistive technology may skip some of the symbols. If you do not use MathML for these, wrap them in an element with role="math" so screen readers switch to a math reading mode.

In short: an image shows math, while MathML gives readers the math itself.

Image with alt text vs MathML: which should you use?

Use MathML for every equation a reader needs to understand, and keep images only as a fallback for reading systems that cannot render it. MathML with a plain-language description is the strongest choice for complex or assessed math. An image with alt text alone is the weakest option, though it beats an image with no alt text at all.

Comparison grid of three math formats. An image with alt text gives partial speech and a partial summary but no exploration or braille. MathML supports speech, exploration and braille but no plain-language summary. MathML plus a text description supports all four.
Three ways to deliver an equation, compared on speech, exploration, braille and summary.
ApproachWhat the reader getsMain limitsBest use
Image + alt textOne spoken stringNo navigation or math braille; blurs on zoom; quality depends on the writerFallback for older reading systems
MathMLSpoken math, step-by-step navigation, braille through a math engineOlder reading systems may not render it; needs validation and proofingDefault for every meaningful equation
MathML + descriptionAll of the above plus a plain-language summaryDescription techniques are still being tested, per DAISYComplex, multi-line or assessed math

Alt text still matters for figures, graphs and diagrams that sit around the math. For how to write those descriptions, see our guide to alt text for STEM images. This article stays with the markup, metadata and testing side of equations.

How do MathML 4, MathML Core and EPUB 3 fit together?

EPUB 3 supports MathML in its content documents, and production today uses Presentation MathML. As of November 2026, W3C lists MathML Core as a Candidate Recommendation Snapshot dated 24 June 2025, while MathML 4 is still a Working Draft. Build to Presentation MathML now and treat MathML 4 features as coming soon.

MathML Core is the part of MathML that browser engines implement. It matters to publishers because many reading systems are built on browser engines, so they inherit that rendering. MathML 4 adds the intent attribute, which aims to tell a screen reader how to voice notation, for example whether a superscript is a power or an index. The DAISY Knowledge Base notes that it is still a draft.

Until MathML 4 is final, the DAISY guidance gives four practical rules:

  1. Use unprefixed tags. Write <math>, not <m:math>. Not every assistive technology is XML-aware.
  2. Never put role="math" on MathML. DAISY warns that it can make the markup inaccessible. Save that role for plain-text equations.
  3. Do not treat alttext as a description. It is meant to replace MathML where it is not supported, and reading system support for it is poor.
  4. Plan for reading system age. Systems that update their browser core handle MathML. Older ones may not, so keep a fallback plan.

Here is a clean, unprefixed block equation for “the square root of a, over b”:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mfrac>
    <msqrt><mi>a</mi></msqrt>
    <mi>b</mi>
  </mfrac>
</math>

Many EPUB files also ship script-based renderers. Scripting support differs across reading systems, so the MathML must already be in the markup. A script can improve the display, but the book should not depend on it.

What do EPUB Accessibility 1.1 and WCAG require for math?

EPUB Accessibility 1.1 requires every EPUB to declare accessMode, accessibilityFeature and accessibilityHazard metadata. It also sets WCAG 2.0 Level A as the floor and strongly recommends the latest WCAG 2 at Level AA. For math, the key test is WCAG 1.3.1 Info and Relationships: an equation’s structure must be available to software.

Two accessibilityFeature values apply to math. Both are defined in the schema.org accessibility vocabulary and explained in the DAISY Knowledge Base:

  • MathML means equations and formulas are encoded in MathML. In ONIX, it maps to list 196, code 17, “Accessible math content.”
  • describedMath means text descriptions of equations are included, through the alt attribute on images, the MathML alttext attribute or other means. In ONIX, it maps to list 196, code 53, “Described math content.”

DAISY notes that the two are often paired when MathML ships with fallback descriptions. A title with math should also set ONIX list 81, code 48, “Mathematical content.” In the package document, the declarations look like this:

<meta property="schema:accessibilityFeature">MathML</meta>
<meta property="schema:accessibilityFeature">describedMath</meta>
<meta property="dcterms:conformsTo">EPUB Accessibility 1.1 - WCAG 2.2 Level AA</meta>

Use the accessibilitySummary to state known gaps in plain words, such as “Equations in Appendix B are images with alt text.” EPUB Accessibility 1.1 lists the summary as recommended, and it is the honest place to flag partial coverage.

Which rules make accessible math a buying requirement?

  • United States. The ADA Title II rule names WCAG 2.1 Level AA for state and local government web content, including public colleges and universities. It also covers content provided through an arrangement with someone else, such as a vendor. As of November 2026, ADA.gov lists April 26, 2027 as the compliance date for entities of 50,000 or more people and April 26, 2028 for smaller entities and special districts. Federal agencies buy under Section 508, whose standards incorporate WCAG 2.0 Level AA.
  • European Union. The European Commission lists e-books among the services covered by the European Accessibility Act, Directive (EU) 2019/882. The Act has applied since 28 June 2025, including to US and UK publishers selling ebooks to EU consumers. Our European Accessibility Act guide for publishers covers scope and backlist timing.

How do you convert equations to accessible MathML?

Convert equations to accessible MathML in five stages. First, inventory the math in the source file. Next, convert it to clean, unprefixed Presentation MathML and validate the package. Then listen to the equations with a screen reader and a math engine, fix what sounds wrong, and declare the result in metadata. Each source format needs a different conversion route.

Five-step workflow for accessible math: source files, convert to MathML, validate the package, read back with a screen reader, then declare metadata. A loop returns from read-back to conversion when speech is wrong.
The conversion workflow. Read-back findings loop back to conversion until every sampled equation reads correctly.
  1. Inventory the math. Count inline equations, display equations, chemistry, matrices and equation images per chapter. Flag every assessment item. This sets effort and shows where fallbacks will be needed.
  2. Convert by source type.
    • LaTeX: converters such as LaTeXML and Pandoc can output MathML. Custom macros need mapping first, or they come out as raw text.
    • Microsoft Word: Word stores equations as OMML, which can be transformed to MathML. Old Equation Editor objects and pasted images need separate handling.
    • PDF or scans: run math-aware OCR, then have a math editor proof every equation against the page. Untagged PDFs and scans carry no equation structure, so this is the slowest route. Our PDF to EPUB guide covers the rest of that rebuild.
  3. Clean and proof. Check that numbers, identifiers and operators use the right elements (mn, mi, mo), that terms group correctly in mrow, and that a true minus sign is used instead of a hyphen. Proof every expression against the source page.
  4. Validate. Run EPUBCheck for conformance and Ace by DAISY for accessibility checks and metadata. Fix every error before anyone listens to the book.
  5. Read back. Listen to a sample of equations from each chapter with a screen reader and a math engine. Compare what you hear with what an instructor would say aloud.
  6. Declare. Add the accessibilityFeature values, the conformance claim and an honest summary.

Which screen readers and reading apps read MathML?

Much of the speech and braille output now runs through MathCAT, an open-source library that turns MathML into speech and braille and lets readers navigate inside expressions. As of November 2026, per the DAISY Consortium, MathCAT is integrated into or supported by JAWS, NVDA, Dolphin ScreenReader, Dolphin SuperNova and Orca. Reading tools include Dolphin EasyReader, Thorium Reader and Kurzweil 3000.

DAISY lists 15 supported speech languages and 9 braille codes, including Nemeth and UEB. Test on every platform your buyers name, because behavior differs by reading system and device.

The PROOF checklist for accessible math

We use a five-part checklist to decide whether a title’s math is ready to ship. We call it PROOF, and each letter is a gate. If any gate fails, the title goes back for rework.

The PROOF checklist for accessible math in five cards: Profile the math, Recode it as MathML, Offer fallbacks, Open metadata and Field-test with a screen reader.
PROOF: five gates every math-heavy title passes before delivery.
  • P: Profile. Every equation is counted and classed by type, chapter and whether it sits in an assessment.
  • R: Recode. Every meaningful equation is unprefixed Presentation MathML. Plain-text math that stays as text is wrapped in role="math".
  • O: Offer fallbacks. Complex and assessed equations have a plain-language description, and any remaining images have alt text that reads clearly aloud.
  • O: Open metadata. The package declares MathML and, where true, describedMath, plus a conformance claim and a summary that names any gaps.
  • F: Field-test. A tester has listened to sampled equations in at least one screen reader with a math engine and one reading app, and logged every fix.

Run these yes-or-no checks on every title before release:

  1. Is there an equation inventory per chapter, with assessment items flagged?
  2. Are there zero equation images left where MathML was possible?
  3. Are all math elements unprefixed, with no role="math" on MathML?
  4. Does every complex or assessed equation have a description that gives nothing away?
  5. Does the package declare MathML, and describedMath only where descriptions exist?
  6. Does the package pass EPUBCheck and Ace by DAISY with no errors?
  7. Has someone listened to sample equations from every chapter?
  8. Does the accessibilitySummary state any known gaps?

Want a PROOF check on your own files? Send us one chapter or 20 items to pilot, and we will return converted MathML with a read-back log.

How should you handle math in assessments and item banks?

In assessments, math must be accessible without giving away the answer. Code the stem and every option in MathML, keep any description to what a sighted student can see, and test the item inside the delivery platform, not only in a browser. Confirm that the test player passes MathML to assistive technology without stripping it.

Watch for three problems that are specific to items:

  • Answer leaks. A description that says “the simplified fraction one half” gives the answer to an item that asks students to simplify. Describe the expression as shown.
  • Notation items. When an item tests whether students can read notation, a voicing that interprets it, such as “x squared” for a superscript 2, may help too much. Agree on voicing rules per item type.
  • Platform limits. Some item banks accept only images for equations. In that case, pair each image with careful alt text, keep the MathML source on file, and plan to switch when the platform allows it.

What affects the effort of accessible math conversion?

Effort depends on the source format, how dense and complex the math is, and how much testing your buyers require. Page count alone says little. A clean LaTeX source with standard macros moves fast, while a scanned PDF of a calculus textbook needs OCR, proofing and descriptions for every equation.

FactorWhy it adds effortWhat to send for scoping
Source formatLaTeX and Word convert more directly; PDF and scans need OCR and full proofingNative files, or a sample PDF
Equation densityMore equations per page means more conversion and proofingTwo typical chapters
Math complexityMatrices, multi-line derivations and chemistry need expert reviewHardest chapter in the title
Image-only equationsNo source to convert, so each one is rekeyedCount of equation images
Assessment itemsAnswer-leak checks and platform testing add stepsItem count and target platform
DescriptionsPlain-language summaries need subject writersWhich equations need them
Test matrixEach screen reader, app and braille code adds a test passBuyer or retailer requirements

For how these drivers show up in a per-page quote, see our breakdown of EPUB conversion cost per page.

Common mistakes that break accessible math

  1. Adding role="math" to MathML. It can hide the markup from screen readers.
  2. Prefixing tags. <m:math> fails in tools that are not XML-aware.
  3. Treating alttext as the description. Support is poor, so it cannot be the only text alternative.
  4. Depending on a script to render math. If the reading system turns scripting off, the reader gets nothing.
  5. Typing math as plain text. A hyphen used as a minus sign or a letter x used as a times sign reads wrong aloud.
  6. Overclaiming in metadata. Declaring MathML while some equations are still images misleads readers and buyers. Name the gaps in the summary.
  7. Testing only with checkers. A file can pass every automated check and still voice an equation wrongly.

How GravEiens EduServices approaches accessible math

GravEiens EduServices has worked on education content for 8+ years, since March 2018. For math-heavy titles, we start with a sample chapter, agree on the target standard and test matrix with you, and run the PROOF checklist on every file.

  • Four-stage QA. Every batch moves through content creation, internal review, client review and final delivery.
  • Math editors on conversion. Subject specialists convert and proof equations from LaTeX, Word, PDF or scans, then listen to samples with a screen reader before internal review signs off.
  • Files plus a log. You receive the EPUB 3 package with declared metadata, plus an issue log of what was fixed and what remains as a fallback.
  • Item banks. Where a platform needs equation images, question-bank images can be delivered in JSON (Base64), with alt text alongside and the MathML source kept on file.

Accessible math is usually one part of a wider fix. Our accessibility remediation services cover alt text, tables, reading order and metadata for the rest of the title.

Frequently asked questions

Is MathML supported in EPUB 3?

Yes. EPUB 3 content documents can include MathML, and DAISY calls it the most accessible option where it is supported. Support depends on the reading system. Apps that update their browser engine handle MathML well, while older ones may not render it. Ship MathML in the markup, keep a fallback for older systems, and test in the apps your readers use.

Do I still need alt text if equations are in MathML?

Usually not for the equation itself, because screen readers voice the MathML directly. Alt text matters when an equation is delivered as an image, for example as a fallback for an older reading system. Complex or assessed equations can also benefit from a plain-language description. Declare describedMath only when those descriptions actually exist in the book.

What is the describedMath accessibility feature?

describedMath is a schema.org accessibilityFeature value. It tells readers and retailers that the publication includes text descriptions of its equations, through image alt text, the MathML alttext attribute or other means. It maps to ONIX list 196, code 53. DAISY notes that it is often paired with the MathML value when fallback descriptions are provided.

Can screen readers read MathML?

Yes, with a math engine. As of November 2026, the DAISY Consortium lists JAWS, NVDA, Dolphin ScreenReader, Dolphin SuperNova and Orca among the tools that integrate or support MathCAT. MathCAT turns MathML into speech and braille and lets readers move inside an expression. Results still vary by reading app, so test the combinations your buyers use.

Can LaTeX or Word equations be converted to MathML automatically?

Mostly, yes. LaTeX converters such as LaTeXML and Pandoc can output MathML, and Word equations stored as OMML can be transformed to MathML. Automation fails on custom macros, old equation objects and pasted images. Scanned PDFs need math-aware OCR. Every route needs a math editor to proof the output against the source before release.

Does the European Accessibility Act require MathML?

The Directive does not name MathML. It requires accessible ebooks, and the European Commission lists e-books as a covered service. EPUB Accessibility 1.1 with WCAG Level AA is the usual way publishers show conformance, and WCAG 1.3.1 requires that structure, including equation structure, is available to software. MathML is the practical way to meet that for math.

How do you test accessible math?

Test in layers. Run EPUBCheck and Ace by DAISY to catch markup and metadata errors. Then listen to sampled equations from every chapter with a screen reader and a math engine, and step through a few long expressions. Check one or two reading apps, and confirm braille output if your buyers need it. Log every fix.

See your equations as tested MathML

Send us one chapter or 20 assessment items. We will profile the math, convert it to MathML, run a read-back test and return the files with a log of every fix.

Send us one chapter to pilot or get a scoped quote for a full title.

Sources

  1. DAISY Consortium, Accessible Publishing Knowledge Base, MathML (accessed November 2026).
  2. DAISY Consortium, Accessible Publishing Knowledge Base, accessibilityFeature: MathML and accessibilityFeature: describedMath.
  3. W3C, EPUB Accessibility 1.1, W3C Recommendation.
  4. W3C, MathML Core, Candidate Recommendation Snapshot, 24 June 2025.
  5. W3C, MathML Version 4.0 publication history (Working Draft, latest listed 21 November 2026).
  6. DAISY Consortium, MathCAT Initiative (supported tools, languages and braille codes).
  7. U.S. Department of Justice, ADA.gov, Fact Sheet: New Rule on the Accessibility of Web Content and Mobile Apps Provided by State and Local Governments, including the April 2026 interim final rule on compliance dates.
  8. European Commission, European Accessibility Act (EAA).
  9. EUR-Lex, Directive (EU) 2019/882 on the accessibility requirements for products and services.

About the author

GravEiens EduServices Editorial Team. Our editorial team writes practical guides on accessible publishing, EPUB production and assessment content for education publishers and EdTech companies. Articles draw on the work of our subject specialists, accessibility testers and production staff, and are checked against primary sources.

Share
Jitendra Choubay
Written by

Jitendra Choubay

CEO & Founder, GravEiens EduServices

Jitendra leads GravEiens EduServices, partnering with publishers, schools, universities and EdTech teams to turn content into measurable learning outcomes — across content development, assessments, localization and accessibility.

Need eLearning Solutions?

Custom courses, assessments, localization & accessibility — built for publishers, schools, universities & EdTech teams by 1,000+ subject-matter experts.

Contact GravEiens EduServices

Get monthly EdTech insights

Trends, content tips and how-tos — once a month, no spam.

↑