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.0.7~55 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f3097ffe765f0f44128cf8d1bb93ef4eb291a23b;p=features.git Fix bug #8746: Images have to have alt tags. --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 6df2416ac4..6567e2aaac 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 b6b399ab3f..6559268c87 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