Ticket #9408: default_theme_landmark_roles_valid.diff
| File default_theme_landmark_roles_valid.diff, 2.6 KB (added by peterkz, 4 years ago) |
|---|
-
wp-content/themes/default/sidebar.php
48 48 <?php } ?> 49 49 50 50 </li> <?php }?> 51 </ul> 52 <ul class="aria-navigation"> 51 53 52 <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>54 <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> 53 55 54 <li><h2>Archives</h2>55 <ul>56 <?php wp_get_archives('type=monthly'); ?>57 </ul>58 </li>56 <li><h2>Archives</h2> 57 <ul> 58 <?php wp_get_archives('type=monthly'); ?> 59 </ul> 60 </li> 59 61 60 <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> 62 <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> 63 </ul> 64 <ul> 61 65 62 66 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> 63 67 <?php wp_list_bookmarks(); ?> -
wp-content/themes/default/page.php
24 24 25 25 <?php get_sidebar(); ?> 26 26 27 <?php get_footer(); ?> 28 No newline at end of file 27 <?php get_footer(); ?> -
wp-content/themes/default/js/aria-landmarks.js
1 $(document).ready(function() { 2 $("#header").attr("role","banner"); 3 $("#content").attr("role","main"); 4 $("#searchform").attr("role","search"); 5 $("#sidebar").attr("role","complementary"); 6 $("#footer").attr("role","contentinfo"); 7 $(".aria-navigation").attr("role","navigation"); 8 }); -
wp-content/themes/default/header.php
15 15 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> 16 16 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 17 17 18 18 19 <style type="text/css" media="screen"> 19 20 20 21 <?php … … 29 30 </style> 30 31 31 32 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 32 33 <?php wp_enqueue_script('jquery'); ?> 33 34 <?php wp_head(); ?> 35 <script type="text/javascript" src="<?php echo(get_bloginfo('template_directory')); ?>/js/aria-landmarks.js"></script> 34 36 </head> 35 37 <body <?php body_class(); ?>> 36 38 <div id="page">