TinyMCE: remove role=tab from the keyboard shortcuts help dialog.

See #33031.

git-svn-id: https://develop.svn.wordpress.org/trunk@33430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-07-26 21:36:06 +00:00
parent 4ca5459784
commit a5d922f427
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
$wrap = dialog.$el.find( '.mce-wp-help' );
if ( $wrap[0] ) {
$wrap.attr( 'tabindex', '0' ).attr( 'role', 'tab' );
$wrap.attr( 'tabindex', '0' );
$wrap[0].focus();
$wrap.on( 'keydown', function( event ) {
// Prevent use of: page up, page down, end, home, left arrow, up arrow, right arrow, down arrow