Skip to:
Content

BuddyPress.org

Changeset 3459


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

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

Location:
trunk/bp-themes/bp-default
Files:
11 edited

Legend:

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

    r3430 r3459  
    66        <?php do_action( 'bp_before_archive' ) ?>
    77
    8         <div class="page" id="blog-archives">
     8        <div class="page" id="blog-archives" role="main">
    99
    1010            <h3 class="pagetitle"><?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?></h3>
  • trunk/bp-themes/bp-default/footer.php

    r3458 r3459  
    77            <?php get_sidebar( 'footer' ) ?>
    88
    9             <div id="site-generator">
     9            <div id="site-generator" role="contentinfo">
    1010                <p><?php printf( __( '%s is proudly powered by <a href="http://wordpress.org">WordPress</a> and <a href="http://buddypress.org">BuddyPress</a>', 'buddypress' ), get_bloginfo( 'name' ) ); ?></p>
    1111            </div>
  • 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
  • trunk/bp-themes/bp-default/index.php

    r3430 r3459  
    66        <?php do_action( 'bp_before_blog_home' ) ?>
    77
    8         <div class="page" id="blog-latest">
     8        <div class="page" id="blog-latest" role="main">
    99
    1010            <?php if ( have_posts() ) : ?>
  • trunk/bp-themes/bp-default/links.php

    r3386 r3459  
    1212        <?php do_action( 'bp_before_blog_links' ) ?>
    1313
    14         <div class="page" id="blog-latest">
     14        <div class="page" id="blog-latest" role="main">
    1515
    1616            <h2 class="pagetitle"><?php _e( 'Links', 'buddypress' ) ?></h2>
  • trunk/bp-themes/bp-default/onecolumn-page.php

    r3428 r3459  
    1717        <?php do_action( 'bp_before_blog_page' ) ?>
    1818
    19         <div class="page" id="blog-page">
     19        <div class="page" id="blog-page" role="main">
    2020
    2121            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  • trunk/bp-themes/bp-default/page.php

    r3386 r3459  
    66        <?php do_action( 'bp_before_blog_page' ) ?>
    77
    8         <div class="page" id="blog-page">
     8        <div class="page" id="blog-page" role="main">
    99
    1010            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  • trunk/bp-themes/bp-default/search.php

    r3430 r3459  
    66        <?php do_action( 'bp_before_blog_search' ) ?>
    77
    8         <div class="page" id="blog-search">
     8        <div class="page" id="blog-search" role="main">
    99
    1010            <h2 class="pagetitle"><?php _e( 'Blog', 'buddypress' ) ?></h2>
  • trunk/bp-themes/bp-default/searchform.php

    r3386 r3459  
    11<?php do_action( 'bp_before_blog_search_form' ) ?>
    22
    3 <form method="get" id="searchform" action="<?php echo home_url() ?>/">
     3<form role="search" method="get" id="searchform" action="<?php echo home_url() ?>/">
    44    <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    55    <input type="submit" id="searchsubmit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
  • trunk/bp-themes/bp-default/sidebar.php

    r3413 r3459  
    11<?php do_action( 'bp_before_sidebar' ) ?>
    22
    3 <div id="sidebar">
     3<div id="sidebar" role="complementary">
    44    <div class="padder">
    55
  • trunk/bp-themes/bp-default/single.php

    r3430 r3459  
    66        <?php do_action( 'bp_before_blog_single_post' ) ?>
    77
    8         <div class="page" id="blog-single">
     8        <div class="page" id="blog-single" role="main">
    99
    1010            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Note: See TracChangeset for help on using the changeset viewer.