diff --git a/header.php b/header.php index 8cde856..242e02d 100644 --- a/header.php +++ b/header.php @@ -87,6 +87,7 @@ 'container' => 'nav', 'container_class' => 'js-header-nav', 'container_id' => 'navigation', + 'container_aria_label' => 'primary', 'menu_id' => 'nav-primary-menu', 'menu_class' => 'nav--primary', ] diff --git a/inc/helpers/namespace.php b/inc/helpers/namespace.php index 482b53d..855cab5 100644 --- a/inc/helpers/namespace.php +++ b/inc/helpers/namespace.php @@ -273,7 +273,7 @@ function get_default_menu( $items = '' ) { */ function default_menu( $args = [], $items = '' ) { printf( - "<{$args['container']} id='{$args['container_id']}' class='{$args['container_class']}'>