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

See #33031.
Built from https://develop.svn.wordpress.org/trunk@33430


git-svn-id: http://core.svn.wordpress.org/trunk@33397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-07-26 21:37:24 +00:00
parent 170eef2e93
commit a92b1d02ae
4 changed files with 3 additions and 3 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta4-33429'; $wp_version = '4.3-beta4-33430';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.