]> git.lyx.org Git - features.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:28:32 +0000 (17:28 -0400)
src/mathed/InsetMathHull.cpp
status.20x

index 6df2416ac4b84cdccd6526ad8b9dd91f3fff0201..6567e2aaacdf6864620b8009442536e8ea033c69 100644 (file)
@@ -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;
index b6b399ab3ff11be2b067e169ffb13d7302a65f7b..6559268c87a35570b0d64120b14c6712b23778ed 100644 (file)
@@ -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