commit f3097ffe765f0f44128cf8d1bb93ef4eb291a23b
Author: Richard Heck <[email protected]>
Date:   Wed Jun 12 17:24:59 2013 -0400

    Fix bug #8746: Images have to have alt tags.

diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp
index 6df2416..6567e2a 100644
--- a/src/mathed/InsetMathHull.cpp
+++ b/src/mathed/InsetMathHull.cpp
@@ -2189,7 +2189,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;
diff --git a/status.20x b/status.20x
index b6b399a..6559268 100644
--- a/status.20x
+++ b/status.20x
@@ -54,6 +54,8 @@ What's new
 
 - Added h5 and h6 as tags for Paragraph and Subparagraph.
 
+- Include alt tag when exporting math as images (bug 8746).
+
 
 * USER INTERFACE
 

Reply via email to