Removing redundancy with WAI-ARIA in HTML
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<footer class="content-info">
|
||||
<div class="container">
|
||||
<?php dynamic_sidebar('sidebar-footer'); ?>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<header class="banner" role="banner">
|
||||
<header class="banner">
|
||||
<div class="container">
|
||||
<a class="brand" href="<?= esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a>
|
||||
<nav role="navigation">
|
||||
<nav class="nav-primary">
|
||||
<?php
|
||||
if (has_nav_menu('primary_navigation')) :
|
||||
wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'nav']);
|
||||
|
||||
Reference in New Issue
Block a user