Files
edx-platform/lms/templates/mathjax_accessible.html
Dave St.Germain 44109d16ab For a11y, modal dialogs and script templates should be hidden from
screen readers. Also, the mathjax message should be wrapped to prevent
non-IE browsers from complaining about a feature that is IE-only.
2014-02-07 11:12:41 -05:00

21 lines
891 B
HTML

<%! from django.utils.translation import ugettext as _ %>
<!--[if IE]>
<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="true">
<p class="copy">${
_("This page features MathJax technology to render mathematical "
"formulae. To make math accessibile, we suggest using the MathPlayer "
"plugin. Please visit the {link_start}MathPlayer Download "
"Page{link_end} to download the plugin for your browser.").format(
link_start = u'<a href="//www.dessci.com/en/products/mathplayer/'
'download.htm">',
link_end = u'</a>')
}</p>
</div>
<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="true">
<p class="copy">
${_("Your browser does not support the MathPlayer plugin. To use "
"MathPlayer, please use Internet Explorer 6 through 9.")}
</p>
</div>
<![endif]-->