Remove non visible mobile nav links when tabbing through the desktop site

Posted in: Newspaper
Post count: 3

Hi,
I sent support an email with the site link and login details referencing these two issues below.
We are trying to make our site with version 8.6 of the plugin installed more accessible however, we are having the following issues:
1. When tabbing through the site using a keyboard, the navigation links for the mobile navigation which is non visible on the desktop shows up when tabbing. When we tried removing it via the file/code below, we encounter two issues:a) the header navigation styling on the page gets screwed up, b) the navigation does not work properly and the navigation on mobile devices is disabled(not the intention). Is there a fix you can recommend?

/wp-content/themes/Newspaper-child/parts/menu-mobile.php
<!– menu section –>
<div class=”td-mobile-content”>
<?php
wp_nav_menu(array(
‘theme_location’ => ‘header-menu’,
‘menu_class’=> ‘td-mobile-main-menu’,
‘fallback_cb’ => ‘td_wp_no_mobile_menu’,
‘link_after’ => ‘<i class=”td-icon-menu-right td-element-after”></i>’,
‘walker’ => new td_walker_mobile_menu()
));

//if no menu
function td_wp_no_mobile_menu() {
//this is the default menu
echo ‘<ul class=””>’;
echo ‘<li class=”menu-item-first”>Click here – to use the wp menu builder‘;
echo ‘‘;
}

?>
</div>
</div>
</div>

2. When tabbing through navigation on the top menu and header menu, nested links on the navigation are skipped when tabbing. Is there an issue with the tabindex for

  • list tags ? This is an accessibility issue. Is there a fix you can recommend?

    Thanks and we appreciate your help with this.

    • This topic was modified 8 years by gbachman.
    Post count: 22421

    Hello,

    We have not tested tabbing through the site as this is not a standard user behavior. You cannot see anything when tabbing around except for the url at the bottom. The mobile menu is hidden from view and is not accessible otherwise. Please do not remove any code from the theme and ignore any tabbing issues as there is no implementation for ‘tabbing’ around. I will add this to our list and pass this info to our development team.

    Thank you!

    Viewing 2 posts - 1 through 2 (of 2 total)
    The forum ‘Newspaper’ is closed to new topics and replies.