Make WordPress Core

Changeset 35155


Ignore:
Timestamp:
10/14/2015 03:26:31 PM (9 years ago)
Author:
afercia
Message:

Accessibility: update a jQuery selector used for the Plugin Cards after [35009].

When updating a plugin from its details modal dialog, focus should be moved back to the plugin title which now is a H3 heading.

Fixes #33818.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/updates.js

    r33638 r35155  
    553553                    $( '.plugin-update-tr[data-slug="' + message.slug + '"]' ).find( '.update-link' ).trigger( 'click' );
    554554                } else if ( 'plugin-install' === pagenow ) {
    555                     $( '.plugin-card-' + message.slug ).find( 'h4 a' ).focus();
     555                    $( '.plugin-card-' + message.slug ).find( '.column-name a' ).focus();
    556556                    $( '.plugin-card-' + message.slug ).find( '[data-slug="' + message.slug + '"]' ).trigger( 'click' );
    557557                }
Note: See TracChangeset for help on using the changeset viewer.