Make WordPress Core


Ignore:
Timestamp:
03/09/2019 12:55:12 PM (7 years ago)
Author:
afercia
Message:

Accessibility: Customize: Improve the widgets search and the widget Remove button.

  • debounces the widgets search to avoid multiple speak() audible messages while typing: search results and messages are now triggered when users stop typing
  • clarifies the Remove button title attribute
  • removes a couple unnecessary preventDefault()

Props davetgreen, afercia.
Fixes #28888.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r44791 r44825  
    778778                                'saveBtnTooltip'   => __( 'Save and preview changes before publishing them.' ),
    779779                                'removeBtnLabel'   => __( 'Remove' ),
    780                                 'removeBtnTooltip' => __( 'Trash widget by moving it to the inactive widgets sidebar.' ),
     780                                'removeBtnTooltip' => __( 'Keep widget settings and move it to the inactive widgets' ),
    781781                                'error'            => __( 'An error has occurred. Please reload the page and try again.' ),
    782782                                'widgetMovedUp'    => __( 'Widget moved up' ),
Note: See TracChangeset for help on using the changeset viewer.