marxjohnson/moodle-block_accessibility — pull request #71 by hrvojegolcic (2014-09-16 12:34:58+00:00)
Title: IE < 11 adjustments

Possibly solves problems with IE's < 11 (at least for IE9 which were tested)

The problem was:
http://stackoverflow.com/questions/1184950/dynamically-loading-css-stylesheet-doesnt-work-on-ie

Tried to solve using proposed solution. The goal was to use createStyleSheet() to achieve the same effect as in non-IE browsers but this wasn't possible to implemented in past 4 days. It's decided to apply stylesheets directly modifying href attribute of original element for IE<11 browsers. This removes smooth user experience for IE users but at least it works well. It's a good compromise. If anyone has better idea, please comment.

Tested in IE9! Works flawlessly