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:
Sergey Biryukov 2020-06-23 21:53:09 +00:00
parent a86cfefecb
commit 840d1c796b
6 changed files with 13 additions and 5 deletions

View File

@ -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;

File diff suppressed because one or more lines are too long

View File

@ -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;

File diff suppressed because one or more lines are too long

View File

@ -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&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ), __( 'There aren&#8217;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&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ), __( 'There aren&#8217;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/' )
); );
?> ?>

View File

@ -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.