Remove landmark roles
* With better browser support, these roles aren't needed now. * Most newer browsers imply them via HTML5 semantics. See: http://html5doctor.com/on-html-belts-and-aria-braces/ Fixes #1132
This commit is contained in:
parent
d3ab4c0da4
commit
f56a070c2b
10 changed files with 12 additions and 12 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue