diff --git a/MathMathML.php b/MathMathML.php index 722dfc9..40bc77c 100644 --- a/MathMathML.php +++ b/MathMathML.php @@ -403,7 +403,8 @@ class MathMathML extends MathRenderer { return Xml::element( 'img', $this->getAttributes( 'span', $attribs, [ 'aria-hidden' => 'true', - 'style' => $this->mathoidStyle + 'style' => $this->mathoidStyle, + 'alt' => $this->tex ] ) ); }