Skip to content

Commit

Permalink
#9844: Give time for the sub-menu get focus when JAWS is running.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck committed Dec 20, 2012
1 parent 57e2fd6 commit 2bd7ee2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/menu/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ CKEDITOR.plugins.add( 'menu', {
var element = this._.panel.getBlock( this.id ).element.getDocument().getById( this.id + String( index ) );

// Show the submenu.
menu.show( element, 2 );
// This timeout is needed to give time for the sub-menu get
// focus when JAWS is running. (#9844)
setTimeout( function() {
menu.show( element, 2 );
},0);
}
},

Expand Down

0 comments on commit 2bd7ee2

Please sign in to comment.