Make WordPress Core


Ignore:
Timestamp:
05/16/2019 04:33:42 PM (6 years ago)
Author:
desrosj
Message:

Accessibility: Add aria-current to the links in the <nav> elements introduced in [44905].

Also fixes a few translators comments and coding standards.

Merges [45300] to the 5.2 branch.

Props audrasjb, afercia.
Fixes #47106.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/about.php

    r45288 r45318  
    3535
    3636        <nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    37             <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
     37            <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
    3838            <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    3939            <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
Note: See TracChangeset for help on using the changeset viewer.