From: Richard Heck Date: Wed, 12 Jun 2013 21:24:59 +0000 (-0400) Subject: Fix bug #8746: Images have to have alt tags. X-Git-Tag: 2.1.0beta1~28 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=30d3fcd640c180407a8a1db7679cca42eaa9e0c1;p=lyx.git Fix bug #8746: Images have to have alt tags. --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 7059914c9e..d03eca9c53 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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;