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. git-svn-id: https://develop.svn.wordpress.org/trunk@48146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c3c39f7af
commit
2e276f354b
@ -348,6 +348,10 @@
|
||||
border-left: 4px solid #00a0d2;
|
||||
}
|
||||
|
||||
#dashboard-widgets .community-events li.event-none a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
@ -1391,7 +1391,7 @@ function wp_print_community_events_templates() {
|
||||
<?php
|
||||
printf(
|
||||
/* 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 }}',
|
||||
__( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
|
||||
);
|
||||
@ -1401,7 +1401,7 @@ function wp_print_community_events_templates() {
|
||||
<?php
|
||||
printf(
|
||||
/* 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/' )
|
||||
);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user