]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #8746: Images have to have alt tags.
authorRichard Heck <rgheck@lyx.org>
Wed, 12 Jun 2013 21:24:59 +0000 (17:24 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 12 Jun 2013 21:25:39 +0000 (17:25 -0400)
src/mathed/InsetMathHull.cpp

index 7059914c9e2146895099651e93a7253bc93fd28d..d03eca9c53d6fdeedb553745d87a4aca1316b886 100644 (file)
@@ -2206,7 +2206,7 @@ docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const
                        string const tag = (getType() == hullSimple) ? "span" : "div";
                        xs << html::CR()
                           << html::StartTag(tag)
-                                << html::CompTag("img", "src=\"" + filename + "\"")
+                                << html::CompTag("img", "src=\"" + filename + "\" alt=\"Mathematical Equation\"")
                                 << html::EndTag(tag)
                                 << html::CR();
                        success = true;