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(); ?> get_header(); ?>
<div id="primary" class="content-area"> <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"> <section class="error-404 not-found">
<header class="page-header"> <header class="page-header">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,7 @@
get_header(); ?> get_header(); ?>
<section id="primary" class="content-area"> <section id="primary" class="content-area">
<main id="main" class="site-main" role="main"> <main id="main" class="site-main">
<?php <?php
if ( have_posts() ) : ?> 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' ); ?> <?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary --> </aside><!-- #secondary -->

View File

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