MDL-30847 core Adding ARIA attribute to help windows

This commit is contained in:
David Monllao
2012-09-04 15:59:07 +08:00
parent c8ac480979
commit 683bed9182
2 changed files with 3 additions and 2 deletions

View File

@@ -1445,6 +1445,7 @@ M.util.help_icon = {
},
display_callback : function(content) {
content = '<div role="alert">' + content + '</div>';
this.overlay.set('bodyContent', content);
},