WordPress.org

Make WordPress Core

Changeset 48146


Ignore:
Timestamp:
06/23/2020 09:51:25 PM (15 months ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/dashboard.css

    r47859 r48146  
    349349}
    350350
     351#dashboard-widgets .community-events li.event-none a {
     352    text-decoration: underline;
     353}
     354
    351355.community-events-form label {
    352356    display: inline-block;
  • trunk/src/wp-admin/includes/dashboard.php

    r47859 r48146  
    13921392                printf(
    13931393                    /* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
    1394                     __( 'There aren&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ),
     1394                    __( '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>?' ),
    13951395                    '{{ data.location.description }}',
    13961396                    __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
     
    14021402                printf(
    14031403                    /* translators: %s: Meetup organization documentation URL. */
    1404                     __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ),
     1404                    __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
    14051405                    __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14061406                );
Note: See TracChangeset for help on using the changeset viewer.