Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/20/2010 11:52:05 PM (14 years ago)
Author:
djpaul
Message:

Add first pass of WAI ARIA support for WP templates. See #748.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/header.php

    r3386 r3459  
    3737        <?php do_action( 'bp_before_header' ) ?>
    3838
    39         <div id="header">
     39        <div id="header" role="banner">
    4040
    4141            <h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>
    4242
    43             <?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
     43            <div id="navigation" role="navigation">
     44                <?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
     45            </div>
    4446
    45             <div id="search-bar">
     47            <div id="search-bar" role="search">
    4648                <div class="padder">
    4749
Note: See TracChangeset for help on using the changeset viewer.