From 30d3fcd640c180407a8a1db7679cca42eaa9e0c1 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 12 Jun 2013 17:24:59 -0400 Subject: [PATCH] Fix bug #8746: Images have to have alt tags. --- src/mathed/InsetMathHull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5