From f3097ffe765f0f44128cf8d1bb93ef4eb291a23b 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 +- status.20x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5