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

This commit is contained in:
Richard Heck 2013-06-12 17:24:59 -04:00
parent b870e46c85
commit f3097ffe76
2 changed files with 3 additions and 1 deletions

View 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;

View 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