Wiris

Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathType
                      • Technical documentation
                      • MathType for HTML editors
                      • Reference
                      • API services

                      Accessibility services reference

                      Reading time: 2min

                      Reference for the MathType accessibility services used to convert between MathML and accessible textual representations.

                      Summary

                      The accessibility services convert mathematical expressions between Presentation MathML and accessible text. These services are intended for applications that need to generate textual descriptions of mathematical expressions for assistive technologies or reconstruct MathML from accessible text.

                      Supported services

                      Service Description
                      mathml2accessible Converts Presentation MathML into accessible text.
                      accessible2mathml Converts accessible text into Presentation MathML.

                      Available interfaces

                      Accessibility services are available through the following interfaces.

                      Interface Availability
                      HTTP endpoints Cloud and self-hosted deployments
                      Java API Self-hosted Java deployments
                      .NET API Self-hosted .NET deployments

                      HTTP endpoints

                      The endpoint URL depends on your deployment. The endpoint path corresponds to the service name. For example:

                      Service Example endpoint (Java)
                      mathml2accessible /pluginwiris_engine/app/mathml2accessible
                      accessible2mathml /pluginwiris_engine/app/accessible2mathml

                      Both GET and POST requests are supported. POST is recommended for large MathML expressions.

                      Request parameters

                      The accessibility services accept the following request parameters.

                      Parameter Required Description
                      mml Yes* Presentation MathML to convert.
                      accessible Yes* Accessible text to convert.
                      lang No Language used for the generated accessible text, when supported.
                      httpstatus No Returns HTTP 5xx status codes when the conversion fails instead of embedding the error in a successful (200 OK) response.

                      * The required parameter depends on the selected service:

                      Service Required parameter
                      mathml2accessible mml
                      accessible2mathml accessible

                      Example request

                      Convert Presentation MathML into accessible text:

                      GET /mathml2accessible?mml=<math><mn>1</mn><mo>+</mo><mn>2</mn></math>

                      Service behaviour

                      mathml2accessible

                      Generates an accessible textual representation of a mathematical expression from Presentation MathML. The generated text can be used by screen readers or other assistive technologies.

                      accessible2mathml

                      Converts a supported accessible textual representation back into Presentation MathML. The resulting MathML can be rendered or edited using MathType.

                      Error handling

                      Conversion may fail if:

                      • The supplied MathML is malformed.
                      • The accessible text cannot be interpreted.
                      • The requested language is not supported.

                      When httpstatus=true is specified, the service returns an appropriate HTTP 5xx status code instead of embedding the error in a successful (200 OK) response.

                      Notes

                      • Accessible text is intended for assistive technologies and may vary depending on the selected language.
                      • The generated text represents the mathematical meaning of the expression rather than its visual appearance.
                      • These services complement the accessibility features provided by WIRISplugins.js and rendered formulas.

                      Java and .NET APIs

                      The services described in this article are also available through the Java and .NET APIs. For complete method signatures, return types, and implementation details, see:

                      • Java API reference.
                      • .NET API reference.

                      Related articles

                      • MathType API services.
                      • Available languages for MathType Web.
                      • WIRISplugins.js parameters.
                      • Full MathML mode.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Accessibility
                      • MathML makes elementary math accessible
                      • VPAT for Nubric

                      Accessibility services reference

                      Summary Supported services Available interfaces HTTP endpoints Request parameters Example request Service behaviour mathml2accessible accessible2mathml Error handling Notes Java and .NET APIs Related articles

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand