Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-35823 - Accessibility - Readding Focus to header in the help popup

  • Loading branch information...
commit 083c15e6401723a84d71ebebf68be3f6421d1349 1 parent fc7defe
@jsnfwlr jsnfwlr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/javascript-static.js
View
2  lib/javascript-static.js
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.