mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
Accessibility: Administration: Give the link to meetup organizer handbook in the WordPress Events and News dashboard widget a more meaningful label.
This ensures that the link still makes sense when read out of context by assistive technologies. Additionally, underline the link per the accessibility coding standards. Props samful, afercia, williampatton, audrasjb. Fixes #50338. Built from https://develop.svn.wordpress.org/trunk@48146 git-svn-id: http://core.svn.wordpress.org/trunk@47915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a86cfefecb
commit
840d1c796b
@ -349,6 +349,10 @@
|
|||||||
border-right: 4px solid #00a0d2;
|
border-right: 4px solid #00a0d2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#dashboard-widgets .community-events li.event-none a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.community-events-form label {
|
.community-events-form label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
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
@ -348,6 +348,10 @@
|
|||||||
border-left: 4px solid #00a0d2;
|
border-left: 4px solid #00a0d2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#dashboard-widgets .community-events li.event-none a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.community-events-form label {
|
.community-events-form label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
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
@ -1391,7 +1391,7 @@ function wp_print_community_events_templates() {
|
|||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
/* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
|
/* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
|
||||||
__( 'There aren’t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ),
|
__( 'There aren’t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize a WordPress event</a>?' ),
|
||||||
'{{ data.location.description }}',
|
'{{ data.location.description }}',
|
||||||
__( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
|
__( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
|
||||||
);
|
);
|
||||||
@ -1401,7 +1401,7 @@ function wp_print_community_events_templates() {
|
|||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: Meetup organization documentation URL. */
|
/* translators: %s: Meetup organization documentation URL. */
|
||||||
__( 'There aren’t any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ),
|
__( 'There aren’t any events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
|
||||||
__( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
|
__( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-48145';
|
$wp_version = '5.5-alpha-48146';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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