Make WordPress Core


Ignore:
Timestamp:
05/10/2010 09:10:12 PM (16 years ago)
Author:
westi
Message:

Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r14544 r14549  
    4646    <div id="header">
    4747        <div id="masthead">
    48             <div id="branding">
     48            <div id="branding" role="banner">
    4949                <?php $heading_tag = ( is_home() || is_front_page() )? 'h1' : 'div'; ?>
    5050                <<?php echo $heading_tag; ?> id="site-title">
     
    6868            </div><!-- #branding -->
    6969
    70             <div id="access">
     70            <div id="access" role="navigation">
    7171                <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>
    7272                <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.