Commit 8cdff4be authored by Damyon Wiese's avatar Damyon Wiese
Browse files

MDL-56584 boost: Focus on drawer when it is opened

parent cd4a6b8b
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -106,6 +106,7 @@ define(['jquery', 'core/custom_interaction_events', 'core/log'],
// Open.
trigger.attr('aria-expanded', 'true');
drawer.attr('aria-hidden', 'false');
drawer.focus();
body.addClass('drawer-open-' + side);
drawer.removeClass('closed');
M.util.set_user_preference(preference, 'true');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment