mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
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:
parent
170eef2e93
commit
a92b1d02ae
@ -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
Binary file not shown.
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user