Ticket #17611: 17611.diff
File 17611.diff, 6.0 KB (added by , 13 years ago) |
---|
-
wp-content/themes/twentyeleven/header.php
110 110 <?php endif; ?> 111 111 112 112 <nav id="access" role="navigation"> 113 <h 1 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h1>113 <h2 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h2> 114 114 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> 115 115 <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> 116 116 <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> -
wp-content/themes/twentyeleven/functions.php
372 372 'id' => 'sidebar-1', 373 373 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 374 374 'after_widget' => "</aside>", 375 'before_title' => '<h 1class="widget-title">',376 'after_title' => '</h 1>',375 'before_title' => '<h2 class="widget-title">', 376 'after_title' => '</h2>', 377 377 ) ); 378 378 379 379 register_sidebar( array( … … 382 382 'description' => __( 'The sidebar for the optional Showcase Template', 'twentyeleven' ), 383 383 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 384 384 'after_widget' => "</aside>", 385 'before_title' => '<h 1class="widget-title">',386 'after_title' => '</h 1>',385 'before_title' => '<h2 class="widget-title">', 386 'after_title' => '</h2>', 387 387 ) ); 388 388 389 389 register_sidebar( array( … … 392 392 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), 393 393 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 394 394 'after_widget' => "</aside>", 395 'before_title' => '<h 1class="widget-title">',396 'after_title' => '</h 1>',395 'before_title' => '<h2 class="widget-title">', 396 'after_title' => '</h2>', 397 397 ) ); 398 398 399 399 register_sidebar( array( … … 402 402 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), 403 403 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 404 404 'after_widget' => "</aside>", 405 'before_title' => '<h 1class="widget-title">',406 'after_title' => '</h 1>',405 'before_title' => '<h2 class="widget-title">', 406 'after_title' => '</h2>', 407 407 ) ); 408 408 409 409 register_sidebar( array( … … 412 412 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), 413 413 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 414 414 'after_widget' => "</aside>", 415 'before_title' => '<h 1class="widget-title">',416 'after_title' => '</h 1>',415 'before_title' => '<h2 class="widget-title">', 416 'after_title' => '</h2>', 417 417 ) ); 418 418 } 419 419 add_action( 'widgets_init', 'twentyeleven_widgets_init' ); … … 426 426 427 427 if ( $wp_query->max_num_pages > 1 ) : ?> 428 428 <nav id="<?php echo $nav_id; ?>"> 429 <h 1 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h1>429 <h2 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h2> 430 430 <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyeleven' ) ); ?></div> 431 431 <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></div> 432 432 </nav><!-- #nav-above --> -
wp-content/themes/twentyeleven/sidebar.php
16 16 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> 17 17 18 18 <aside id="archives" class="widget"> 19 <h 1 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h1>19 <h2 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h2> 20 20 <ul> 21 21 <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> 22 22 </ul> 23 23 </aside> 24 24 25 25 <aside id="meta" class="widget"> 26 <h 1 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h1>26 <h2 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h2> 27 27 <ul> 28 28 <?php wp_register(); ?> 29 29 <li><?php wp_loginout(); ?></li> -
wp-content/themes/twentyeleven/comments.php
37 37 38 38 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 39 39 <nav id="comment-nav-above"> 40 <h 1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>40 <h2 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h2> 41 41 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> 42 42 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> 43 43 </nav> … … 57 57 58 58 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 59 59 <nav id="comment-nav-below"> 60 <h 1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>60 <h2 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h2> 61 61 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> 62 62 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> 63 63 </nav>