Skip to content

Commit 57e2fd6

Browse files
committed
#9842: Give time for the panel get focus when JAWS is running.
1 parent 9d77a8a commit 57e2fd6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugins/menubutton/plugin.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ CKEDITOR.plugins.add( 'menubutton', {
4141

4242
this.setState( CKEDITOR.TRISTATE_ON );
4343

44-
menu.show( CKEDITOR.document.getById( this._.id ), 4 );
44+
// This timeout is needed to give time for the panel get focus
45+
// when JAWS is running. (#9842)
46+
setTimeout( function() {
47+
menu.show( CKEDITOR.document.getById( _.id ), 4 );
48+
},0);
4549
};
4650

4751
/**

0 commit comments

Comments
 (0)