ARIA role update

This commit is contained in:
Mike Francis 2012-12-20 21:05:46 +00:00
parent 89a7785770
commit ea54c5f0cb
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<footer class="footer"> <footer class="footer" role="contentinfo">
<div class="container"> <div class="container">
<p>&copy; <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?></p> <p>&copy; <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?></p>
</div> </div>

View File

@ -11,10 +11,10 @@
<![endif]--> <![endif]-->
</head> </head>
<body <?php body_class(); ?>> <body <?php body_class(); ?>>
<header class="header"> <header class="header" role="banner">
<div class="container"> <div class="container">
<h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1> <h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
<nav> <nav role="navigation">
<ul class="nav"> <ul class="nav">
<?php wp_list_pages( 'title_li=' ); ?> <?php wp_list_pages( 'title_li=' ); ?>
</ul> </ul>

View File

@ -2,13 +2,13 @@
<div class="content container"> <div class="content container">
<div class="main"> <div class="main" role="main">
<?php while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>> <article <?php post_class(); ?>>
<header> <header role="heading">
<h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p class="date"><time pubdate datetime="<?php echo $post->post_date; ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></p> <p class="date"><time pubdate datetime="<?php echo $post->post_date; ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></p>
<p class="comments"><?php comments_popup_link( 'No comments yet', '1 comment', '% comments' ); ?></p> <p class="comments"><?php comments_popup_link( 'No comments yet', '1 comment', '% comments' ); ?></p>