WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/09/2019 08:57:06 PM (17 months ago)
Author:
afercia
Message:

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

Also fixes a few translators comments and coding standards.

Props audrasjb.
Fixes #47106.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r45287 r45300  
    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.