Files
edx-platform/lms/templates/mathjax_accessible.html
Adam Palay 34362b88a6 add accessibility message if mathjax is detected
use ie conditional html tags to detect for compatible ie versions
2013-09-19 16:07:56 -04:00

23 lines
924 B
HTML

<%! from django.utils.translation import ugettext as _ %>
<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="false">
<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>
<!--[if (lt IE6)|(gt IE 9)|!(IE)]><!-->
<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="false">
<p class="copy">
${_("Your browser does not support the MathPlayer plugin. To use "
"MathPlayer, please use Internet Explorer 6 through 9.")}
</p>
</div>
<!--[endif]-->