Skip to:
Content

Ignore:
Timestamp:
09/21/2016 08:39:08 AM (3 years ago)
Author:
mercime
Message:

Accessibility: Differentiate navigation landmarks for screen readers.

Fixes #7256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php

    r11048 r11128  
    5858    <form action="" method="post" id="blogs-directory-form" class="dir-form">
    5959
    60         <div class="item-list-tabs" role="navigation">
     60        <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation">
    6161            <ul>
    6262                <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li>
     
    8080        </div><!-- .item-list-tabs -->
    8181
    82         <div class="item-list-tabs" id="subnav" role="navigation">
     82        <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    8383            <ul>
    8484
Note: See TracChangeset for help on using the changeset viewer.