Merge pull request #12851 from edx/cptvitamin/AC-516-focusgrabber

removes text value from span that is intended only to receive focus
This commit is contained in:
Mark Sadecki
2016-07-01 09:37:26 -04:00
committed by GitHub

View File

@@ -47,9 +47,8 @@ define(['jquery', 'underscore', 'annotator_1.2.9'], function ($, _, Annotator) {
addFocusGrabber: function () {
this.focusGrabber = $('<span />', {
'class': 'sr edx-notes-focus-grabber',
'tabindex': '-1',
'text': gettext('Focus grabber')
'class': 'edx-notes-focus-grabber',
'tabindex': '-1'
});
this.annotator.wrapper.before(this.focusGrabber);
},