Merge branch 'wip-MDL-35823-master' of git://github.com/phalacee/moodle
This commit is contained in:
@@ -1583,7 +1583,7 @@ M.util.help_icon = {
|
||||
var contentnode, heading;
|
||||
contentnode = Y.Node.create('<div role="alert">' + content + '</div>');
|
||||
this.overlay.set('bodyContent', contentnode);
|
||||
heading = contentnode.one('h1');
|
||||
heading = contentnode.one('h2');
|
||||
if (heading) {
|
||||
heading.set('tabIndex', 0);
|
||||
heading.focus();
|
||||
|
||||
Reference in New Issue
Block a user