ARIA role update
This commit is contained in:
parent
89a7785770
commit
ea54c5f0cb
|
@ -1,4 +1,4 @@
|
|||
<footer class="footer">
|
||||
<footer class="footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<p>© <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?></p>
|
||||
</div>
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
<![endif]-->
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="header">
|
||||
<header class="header" role="banner">
|
||||
<div class="container">
|
||||
<h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<nav>
|
||||
<nav role="navigation">
|
||||
<ul class="nav">
|
||||
<?php wp_list_pages( 'title_li=' ); ?>
|
||||
</ul>
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
<div class="content container">
|
||||
|
||||
<div class="main">
|
||||
<div class="main" role="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<article <?php post_class(); ?>>
|
||||
|
||||
<header>
|
||||
<header role="heading">
|
||||
<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="comments"><?php comments_popup_link( 'No comments yet', '1 comment', '% comments' ); ?></p>
|
||||
|
|
Loading…
Reference in New Issue