Rendering mathematical notation in an accessible format


I’m wanting to create a chatbot GPT and ensure it’s fully accessible to everyone. From my understanding, the best format for accessible maths content is HTML using MathML and the MathJax library. This allows for mathematical equations to be interpreted by screen readers and other assistive technologies.

With this in mind, I would like to know if I can provide HTML files with MathJax embedded as the source knowledge files when creating my chatbot. Also, can the chatbot output the content in HTML with MathJax embedded too?