mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Widgets: Use a text-based button to select location.
The WordPress Events and News widget used an icon-only button to select a location. The Pencil icon alone provided insufficient context and labeling for accessibility. Add text to clearly describe button action and change icon to represent a location marker. Props AmethystAnswers, sabernhardt. Fixes #53311. Built from https://develop.svn.wordpress.org/trunk@51971 git-svn-id: http://core.svn.wordpress.org/trunk@51560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
69dc72d0b9
commit
67779da49f
@ -355,7 +355,7 @@
|
||||
.community-events-errors [aria-hidden="true"],
|
||||
.community-events-loading[aria-hidden="true"],
|
||||
.community-events[aria-hidden="true"],
|
||||
.community-events [aria-hidden="true"] {
|
||||
.community-events form[aria-hidden="true"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/dashboard-rtl.min.css
vendored
2
wp-admin/css/dashboard-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -354,7 +354,7 @@
|
||||
.community-events-errors [aria-hidden="true"],
|
||||
.community-events-loading[aria-hidden="true"],
|
||||
.community-events[aria-hidden="true"],
|
||||
.community-events [aria-hidden="true"] {
|
||||
.community-events form[aria-hidden="true"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/dashboard.min.css
vendored
2
wp-admin/css/dashboard.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1350,8 +1350,9 @@ function wp_print_community_events_markup() {
|
||||
<p>
|
||||
<span id="community-events-location-message"></span>
|
||||
|
||||
<button class="button-link community-events-toggle-location" aria-label="<?php esc_attr_e( 'Edit city' ); ?>" aria-expanded="false">
|
||||
<span class="dashicons dashicons-edit"></span>
|
||||
<button class="button-link community-events-toggle-location" aria-expanded="false">
|
||||
<span class="dashicons dashicons-location" aria-hidden="true"></span>
|
||||
<span class="community-events-location-edit"><?php _e( 'Select location' ); ?></span>
|
||||
</button>
|
||||
</p>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51970';
|
||||
$wp_version = '5.9-alpha-51971';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user