<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [3459] trunk/bp-themes/bp-default:
  Add first pass of WAI ARIA support for WP templates.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>3459</dd>
<dt>Author</dt> <dd>djpaul</dd>
<dt>Date</dt> <dd>2010-11-20 23:52:05 +0000 (Sat, 20 Nov 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add first pass of WAI ARIA support for WP templates. See #748.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpdefaultarchivephp">trunk/bp-themes/bp-default/archive.php</a></li>
<li><a href="#trunkbpthemesbpdefaultfooterphp">trunk/bp-themes/bp-default/footer.php</a></li>
<li><a href="#trunkbpthemesbpdefaultheaderphp">trunk/bp-themes/bp-default/header.php</a></li>
<li><a href="#trunkbpthemesbpdefaultindexphp">trunk/bp-themes/bp-default/index.php</a></li>
<li><a href="#trunkbpthemesbpdefaultlinksphp">trunk/bp-themes/bp-default/links.php</a></li>
<li><a href="#trunkbpthemesbpdefaultonecolumnpagephp">trunk/bp-themes/bp-default/onecolumn-page.php</a></li>
<li><a href="#trunkbpthemesbpdefaultpagephp">trunk/bp-themes/bp-default/page.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsearchphp">trunk/bp-themes/bp-default/search.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsearchformphp">trunk/bp-themes/bp-default/searchform.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsidebarphp">trunk/bp-themes/bp-default/sidebar.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsinglephp">trunk/bp-themes/bp-default/single.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpthemesbpdefaultarchivephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/archive.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/archive.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/archive.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_archive' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-archives&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-archives&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;h3 class=&quot;pagetitle&quot;&gt;&lt;?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?&gt;&lt;/h3&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/footer.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/footer.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/footer.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx">                 &lt;div id=&quot;footer&quot;&gt;
</span><span class="cx">                         &lt;?php get_sidebar( 'footer' ) ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;div id=&quot;site-generator&quot;&gt;
</del><ins>+                        &lt;div id=&quot;site-generator&quot; role=&quot;contentinfo&quot;&gt;
</ins><span class="cx">                                 &lt;p&gt;&lt;?php printf( __( '%s is proudly powered by &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt; and &lt;a href=&quot;http://buddypress.org&quot;&gt;BuddyPress&lt;/a&gt;', 'buddypress' ), get_bloginfo( 'name' ) ); ?&gt;&lt;/p&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/header.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/header.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/header.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -36,13 +36,15 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_header' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div id=&quot;header&quot;&gt;
</del><ins>+                &lt;div id=&quot;header&quot; role=&quot;banner&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;h1 id=&quot;logo&quot;&gt;&lt;a href=&quot;&lt;?php echo site_url() ?&gt;&quot; title=&quot;&lt;?php _e( 'Home', 'buddypress' ) ?&gt;&quot;&gt;&lt;?php bp_site_name() ?&gt;&lt;/a&gt;&lt;/h1&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php wp_nav_menu( array( 'container' =&gt; false, 'menu_id' =&gt; 'nav', 'theme_location' =&gt; 'primary', 'fallback_cb' =&gt; 'bp_dtheme_main_nav' ) ); ?&gt;
</del><ins>+                        &lt;div id=&quot;navigation&quot; role=&quot;navigation&quot;&gt;
+                                &lt;?php wp_nav_menu( array( 'container' =&gt; false, 'menu_id' =&gt; 'nav', 'theme_location' =&gt; 'primary', 'fallback_cb' =&gt; 'bp_dtheme_main_nav' ) ); ?&gt;
+                        &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;div id=&quot;search-bar&quot;&gt;
</del><ins>+                        &lt;div id=&quot;search-bar&quot; role=&quot;search&quot;&gt;
</ins><span class="cx">                                 &lt;div class=&quot;padder&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php if ( bp_search_form_enabled() ) : ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultindexphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/index.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/index.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/index.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_home' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-latest&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-latest&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php if ( have_posts() ) : ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultlinksphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/links.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/links.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/links.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_links' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-latest&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-latest&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;h2 class=&quot;pagetitle&quot;&gt;&lt;?php _e( 'Links', 'buddypress' ) ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultonecolumnpagephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/onecolumn-page.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/onecolumn-page.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/onecolumn-page.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_page' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-page&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-page&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultpagephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/page.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/page.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/page.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_page' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-page&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-page&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsearchphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/search.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/search.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/search.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_search' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-search&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-search&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;h2 class=&quot;pagetitle&quot;&gt;&lt;?php _e( 'Blog', 'buddypress' ) ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsearchformphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/searchform.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/searchform.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/searchform.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php do_action( 'bp_before_blog_search_form' ) ?&gt;
</span><span class="cx"> 
</span><del>-&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php echo home_url() ?&gt;/&quot;&gt;
</del><ins>+&lt;form role=&quot;search&quot; method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php echo home_url() ?&gt;/&quot;&gt;
</ins><span class="cx">         &lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;
</span><span class="cx">         &lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;&lt;?php _e( 'Search', 'buddypress' ) ?&gt;&quot; /&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsidebarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/sidebar.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/sidebar.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/sidebar.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php do_action( 'bp_before_sidebar' ) ?&gt;
</span><span class="cx"> 
</span><del>-&lt;div id=&quot;sidebar&quot;&gt;
</del><ins>+&lt;div id=&quot;sidebar&quot; role=&quot;complementary&quot;&gt;
</ins><span class="cx">         &lt;div class=&quot;padder&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;?php do_action( 'bp_inside_before_sidebar' ) ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsinglephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/single.php (3458 => 3459)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/single.php        2010-11-20 18:41:55 UTC (rev 3458)
+++ trunk/bp-themes/bp-default/single.php        2010-11-20 23:52:05 UTC (rev 3459)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'bp_before_blog_single_post' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;page&quot; id=&quot;blog-single&quot;&gt;
</del><ins>+                &lt;div class=&quot;page&quot; id=&quot;blog-single&quot; role=&quot;main&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>