Ticket #9408: default_theme_landmark_roles.diff

File default_theme_landmark_roles.diff, 5.0 KB (added by peterkz, 3 years ago)
  • wp-includes/general-template.php

     
    118118        if ( '' != locate_template(array('searchform.php'), true) ) 
    119119                return; 
    120120 
    121         $form = '<form method="get" id="searchform" action="' . get_option('home') . '/" > 
     121        $form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" > 
    122122        <div><label class="hidden" for="s">' . __('Search for:') . '</label> 
    123123        <input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" /> 
    124124        <input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" /> 
  • wp-content/themes/default/footer.php

     
    66?> 
    77 
    88<hr /> 
    9 <div id="footer"> 
     9<div id="footer" role="contentinfo"> 
    1010<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> 
    1111        <p> 
    1212                <?php bloginfo('name'); ?> is proudly powered by 
  • wp-content/themes/default/search.php

     
    66 
    77get_header(); ?> 
    88 
    9         <div id="content" class="narrowcolumn"> 
     9        <div id="content" class="narrowcolumn" role="main"> 
    1010 
    1111        <?php if (have_posts()) : ?> 
    1212 
     
    4545 
    4646<?php get_sidebar(); ?> 
    4747 
    48 <?php get_footer(); ?> 
    49  No newline at end of file 
     48<?php get_footer(); ?> 
  • wp-content/themes/default/index.php

     
    66 
    77get_header(); ?> 
    88 
    9         <div id="content" class="narrowcolumn"> 
     9        <div id="content" class="narrowcolumn" role="main"> 
    1010 
    1111        <?php if (have_posts()) : ?> 
    1212 
  • wp-content/themes/default/sidebar.php

     
    44 * @subpackage Default_Theme 
    55 */ 
    66?> 
    7         <div id="sidebar"> 
     7        <div id="sidebar" role="complementary"> 
    88                <ul> 
    99                        <?php   /* Widgetized sidebar, if you have the plugin installed. */ 
    1010                                        if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 
     
    4747 
    4848                        <?php } ?> 
    4949 
    50                         </li> <?php }?> 
    51  
     50                        </li> 
     51                <?php }?> 
     52                </ul>  
     53                <ul role="navigation"> 
    5254                        <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> 
    5355 
    5456                        <li><h2>Archives</h2> 
     
    5860                        </li> 
    5961 
    6062                        <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> 
    61  
     63                </ul> 
     64                <ul> 
    6265                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> 
    6366                                <?php wp_list_bookmarks(); ?> 
    6467 
  • wp-content/themes/default/page.php

     
    66 
    77get_header(); ?> 
    88 
    9         <div id="content" class="narrowcolumn"> 
     9        <div id="content" class="narrowcolumn" role="main"> 
    1010 
    1111                <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    1212                <div class="post" id="post-<?php the_ID(); ?>"> 
     
    2424 
    2525<?php get_sidebar(); ?> 
    2626 
    27 <?php get_footer(); ?> 
    28  No newline at end of file 
     27<?php get_footer(); ?> 
  • wp-content/themes/default/archive.php

     
    77get_header(); 
    88?> 
    99 
    10         <div id="content" class="narrowcolumn"> 
     10        <div id="content" class="narrowcolumn" role="main"> 
    1111 
    1212                <?php if (have_posts()) : ?> 
    1313 
  • wp-content/themes/default/single.php

     
    77get_header(); 
    88?> 
    99 
    10         <div id="content" class="widecolumn"> 
     10        <div id="content" class="widecolumn" role="main"> 
    1111 
    1212        <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    1313 
  • wp-content/themes/default/header.php

     
    3636<div id="page"> 
    3737 
    3838 
    39 <div id="header"> 
     39<div id="header" role="banner"> 
    4040        <div id="headerimg"> 
    4141                <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> 
    4242                <div class="description"><?php bloginfo('description'); ?></div>