mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
51e54f5a0b
commit
5bcf419601
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<div id="post-0" class="post error404 not-found">
|
||||
<h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<h1 class="page-title"><?php
|
||||
printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
||||
|
@ -12,7 +12,7 @@
|
||||
?>
|
||||
</div><!-- #main -->
|
||||
|
||||
<div id="footer">
|
||||
<div id="footer" role="contentinfo">
|
||||
<div id="colophon">
|
||||
|
||||
<?php get_sidebar( 'footer' ); ?>
|
||||
|
@ -45,7 +45,7 @@
|
||||
<div id="wrapper" class="hfeed">
|
||||
<div id="header">
|
||||
<div id="masthead">
|
||||
<div id="branding">
|
||||
<div id="branding" role="banner">
|
||||
<?php $heading_tag = ( is_home() || is_front_page() )? 'h1' : 'div'; ?>
|
||||
<<?php echo $heading_tag; ?> id="site-title">
|
||||
<span>
|
||||
@ -67,7 +67,7 @@
|
||||
<?php endif; ?>
|
||||
</div><!-- #branding -->
|
||||
|
||||
<div id="access">
|
||||
<div id="access" role="navigation">
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
|
||||
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>
|
||||
</div><!-- #access -->
|
||||
|
@ -17,7 +17,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
/* Run the loop to output the posts.
|
||||
|
@ -14,7 +14,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container" class="onecolumn">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
|
||||
|
@ -16,7 +16,7 @@
|
||||
is_active_sidebar( 'fourth-footer-widget-area' )
|
||||
) :
|
||||
?>
|
||||
<div id="footer-widget-area">
|
||||
<div id="footer-widget-area" role="complementary">
|
||||
<?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
|
||||
<div id="first" class="widget-area">
|
||||
<ul class="xoxo">
|
||||
|
@ -8,7 +8,7 @@
|
||||
*/
|
||||
?>
|
||||
|
||||
<div id="primary" class="widget-area">
|
||||
<div id="primary" class="widget-area" role="complementary">
|
||||
<ul class="xoxo">
|
||||
<?php if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : // begin primary widget area ?>
|
||||
<li id="search" class="widget-container widget_search">
|
||||
@ -35,7 +35,7 @@
|
||||
</div><!-- #primary .widget-area -->
|
||||
|
||||
<?php if ( is_active_sidebar( 'secondary-widget-area' ) ) : // Nothing here by default and design ?>
|
||||
<div id="secondary" class="widget-area">
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<ul class="xoxo">
|
||||
<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
|
||||
</ul>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php the_post(); ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user