Merge pull request #1133 from Automattic/feature/remove-landmarks

Remove landmark roles
This commit is contained in:
Laurel 2017-06-26 12:59:15 -07:00 committed by GitHub
commit e25ab26c05
10 changed files with 12 additions and 12 deletions

View File

@ -10,7 +10,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<section class="error-404 not-found">
<header class="page-header">

View File

@ -10,7 +10,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<?php
if ( have_posts() ) : ?>

View File

@ -46,7 +46,7 @@ if ( post_password_required() ) {
</h2><!-- .comments-title -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
<nav id="comment-nav-above" class="navigation comment-navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', '_s' ); ?></h2>
<div class="nav-links">
@ -67,7 +67,7 @@ if ( post_password_required() ) {
</ol><!-- .comment-list -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
<nav id="comment-nav-below" class="navigation comment-navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', '_s' ); ?></h2>
<div class="nav-links">

View File

@ -13,7 +13,7 @@
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<footer id="colophon" class="site-footer">
<div class="site-info">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', '_s' ) ); ?>"><?php
/* translators: %s: CMS name, i.e. WordPress. */

View File

@ -23,7 +23,7 @@
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', '_s' ); ?></a>
<header id="masthead" class="site-header" role="banner">
<header id="masthead" class="site-header">
<div class="site-branding">
<?php
if ( is_front_page() && is_home() ) : ?>
@ -40,7 +40,7 @@
endif; ?>
</div><!-- .site-branding -->
<nav id="site-navigation" class="main-navigation" role="navigation">
<nav id="site-navigation" class="main-navigation">
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', '_s' ); ?></button>
<?php
wp_nav_menu( array(

View File

@ -15,7 +15,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<?php
if ( have_posts() ) :

View File

@ -15,7 +15,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<?php
while ( have_posts() ) : the_post();

View File

@ -10,7 +10,7 @@
get_header(); ?>
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<?php
if ( have_posts() ) : ?>

View File

@ -12,6 +12,6 @@ if ( ! is_active_sidebar( 'sidebar-1' ) ) {
}
?>
<aside id="secondary" class="widget-area" role="complementary">
<aside id="secondary" class="widget-area">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->

View File

@ -10,7 +10,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<main id="main" class="site-main">
<?php
while ( have_posts() ) : the_post();