Skip to:
Content

BuddyPress.org


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/forums/index.php

    r11048 r11128  
    5656    <form action="" method="post" id="forums-directory-form" class="dir-form">
    5757
    58         <div class="item-list-tabs" role="navigation">
     58        <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation">
    5959            <ul>
    6060                <li class="selected" id="forums-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ); ?>"><?php printf( __( 'All Topics %s', 'buddypress' ), '<span>' . bp_get_forum_topic_count() . '</span>' ); ?></a></li>
     
    7878        </div>
    7979
    80         <div class="item-list-tabs" id="subnav" role="navigation">
     80        <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation">
    8181            <ul>
    8282
Note: See TracChangeset for help on using the changeset viewer.