Skip to:
Content

bbPress.org

Changeset 2061


Ignore:
Timestamp:
04/29/2009 05:34:44 AM (17 years ago)
Author:
sambauers
Message:

WAI-ARIA landmark roles from MarcoZ, fixes #1074

Location:
trunk/bb-templates/kakumei
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-templates/kakumei/edit-form.php

    r2012 r2061  
    11
    22<?php if ( $topic_title ) : ?>
    3 <p>
     3<p role="main">
    44  <label><?php _e('Topic:'); ?><br />
    55
  • trunk/bb-templates/kakumei/favorites.php

    r1980 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Favorites'); ?></h3>
    44
    5 <h2 id="currentfavorites"><?php _e('Current Favorites'); ?><?php if ( $topics ) echo ' (' . $favorites_total . ')'; ?></h2>
     5<h2 id="currentfavorites" role="main"><?php _e('Current Favorites'); ?><?php if ( $topics ) echo ' (' . $favorites_total . ')'; ?></h2>
    66
    77<p><?php _e("Your Favorites allow you to create a custom <abbr title=\"Really Simple Syndication\">RSS</abbr> feed which pulls recent replies to the topics you specify.\nTo add topics to your list of favorites, just click the \"Add to Favorites\" link found on that topic&#8217;s page."); ?></p>
  • trunk/bb-templates/kakumei/footer.php

    r1647 r2061  
    88    </div>
    99
    10     <div id="footer">
     10    <div id="footer" role="contentinfo">
    1111        <p><?php printf(__('%1$s is proudly powered by <a href="%2$s">bbPress</a>.'), bb_option('name'), "http://bbpress.org") ?></p>
    1212    </div>
  • trunk/bb-templates/kakumei/forum.php

    r1980 r2061  
    55<?php if ( $topics || $stickies ) : ?>
    66
    7 <table id="latest">
     7<table id="latest" role="main">
    88<tr>
    99    <th><?php _e('Topic'); ?> &#8212; <?php bb_new_topic_link(); ?></th>
  • trunk/bb-templates/kakumei/front-page.php

    r1980 r2061  
    33<?php if ( $forums ) : ?>
    44
    5 <div id="hottags">
     5<div id="hottags" role="main">
    66<h2><?php _e('Hot Tags'); ?></h2>
    77<p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p>
  • trunk/bb-templates/kakumei/header.php

    r1935 r2061  
    2525    <div id="wrapper">
    2626   
    27         <div id="header">
     27        <div id="header" role="banner">
    2828            <h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1>
    2929            <?php if ( bb_get_option('description') ) : ?><p class="description"><?php bb_option('description'); ?></p><?php endif; ?>
  • trunk/bb-templates/kakumei/login.php

    r1625 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Log in'); ?></h3>
    44
    5 <h2 id="userlogin"><?php isset($_POST['user_login']) ? _e('Log in Failed') : _e('Log in') ; ?></h2>
     5<h2 id="userlogin" role="main"><?php isset($_POST['user_login']) ? _e('Log in Failed') : _e('Log in') ; ?></h2>
    66
    77<form method="post" action="<?php bb_uri('bb-login.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS); ?>">
  • trunk/bb-templates/kakumei/password-reset.php

    r1656 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Log in'); ?></h3>
    44
    5 <h2><?php _e('Password Reset'); ?></h2>
     5<h2 role="main"><?php _e('Password Reset'); ?></h2>
    66
    77<?php if ( $error ) : ?>
  • trunk/bb-templates/kakumei/profile-base.php

    r1575 r2061  
    22
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php echo $profile_page_title; ?></h3>
    4 <h2><?php echo get_user_name( $user->ID ); ?></h2>
     4<h2 role="main"><?php echo get_user_name( $user->ID ); ?></h2>
    55
    66<?php bb_profile_base_content(); ?>
  • trunk/bb-templates/kakumei/profile-edit.php

    r1978 r2061  
    22
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Edit Profile'); ?></h3>
    4 <h2 id="userlogin"><?php echo get_user_display_name( $user->ID ); ?> <small>(<?php echo get_user_name( $user->ID ); ?>)</small></h2>
     4<h2 id="userlogin" role="main"><?php echo get_user_display_name( $user->ID ); ?> <small>(<?php echo get_user_name( $user->ID ); ?>)</small></h2>
    55<form method="post" action="<?php profile_tab_link( $user->ID, 'edit', BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>">
    66<fieldset>
  • trunk/bb-templates/kakumei/profile.php

    r1980 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Profile') ?></h3>
    44
    5 <div class="vcard">
     5<div class="vcard" role="main">
    66
    77<?php if ( $avatar = bb_get_avatar( $user->ID ) ) : ?>
  • trunk/bb-templates/kakumei/register-success.php

    r1575 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Register'); ?></h3>
    44
    5 <h2 id="register"><?php _e('Great!'); ?></h2>
     5<h2 id="register" role="main"><?php _e('Great!'); ?></h2>
    66
    77<p><?php printf(__('Your registration as <strong>%s</strong> was successful. Within a few minutes you should receive an email with your password.'), $user_login) ?></p>
  • trunk/bb-templates/kakumei/register.php

    r1642 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Register'); ?></h3>
    44
    5 <h2 id="register"><?php _e('Registration'); ?></h2>
     5<h2 id="register" role="main"><?php _e('Registration'); ?></h2>
    66
    77<?php if ( !bb_is_user_logged_in() ) : ?>
  • trunk/bb-templates/kakumei/search-form.php

    r1641 r2061  
    1 <form class="search-form" action="<?php bb_uri('search.php', null, BB_URI_CONTEXT_FORM_ACTION); ?>" method="get">
     1<form class="search-form" role="search" action="<?php bb_uri('search.php', null, BB_URI_CONTEXT_FORM_ACTION); ?>" method="get">
    22    <p>
    33        <label class="hidden" for="q"><?php _e('Search:'); ?></label>
  • trunk/bb-templates/kakumei/stats.php

    r1575 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Statistics'); ?></h3>
    44
    5 <dl>
     5<dl role="main">
    66    <dt><?php _e('Registered Users'); ?></dt>
    77    <dd><strong><?php total_users(); ?></strong></dd>
  • trunk/bb-templates/kakumei/tag-single.php

    r1999 r2061  
    77<?php if ( $topics ) : ?>
    88
    9 <table id="latest">
     9<table id="latest" role="main">
    1010<tr>
    1111    <th><?php _e('Topic'); ?> &#8212; <?php bb_new_topic_link(); ?></th>
  • trunk/bb-templates/kakumei/tags.php

    r1575 r2061  
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Tags'); ?></h3>
    44
    5 <p><?php _e('This is a collection of tags that are currently popular on the forums.'); ?></p>
     5<p role="main"><?php _e('This is a collection of tags that are currently popular on the forums.'); ?></p>
    66
    77<div id="hottags">
  • trunk/bb-templates/kakumei/topic.php

    r1980 r2061  
    22
    33<h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></h3>
    4 <div class="infobox">
     4<div class="infobox" role="main">
    55
    66<div id="topic-info">
  • trunk/bb-templates/kakumei/view.php

    r1852 r2061  
    55<?php if ( $topics || $stickies ) : ?>
    66
    7 <table id="latest">
     7<table id="latest" role="main">
    88<tr>
    99    <th><?php _e('Topic'); ?></th>
Note: See TracChangeset for help on using the changeset viewer.