Accessibility: missing space on menu HTML
-
I’ve run into a small issue with accessibility with the Neve main navigation.
The error is “No space between attributes.”
The generated HTML looks like:
<div role=”none”tabindex=”-1″ class=”caret-wrap 2″ style=”margin-left:5px;”>
^
Would it be possible for you to update the inc/views/nav_walker.php file (line 136) and insert a space after the role=”none” parameter? THe lack of space generates accessbility error on accessbility/section 508 scanners.Here is line 136. There is no space after role=”none” parameter.
$caret = ‘<div role=”none”‘ . $expanded . ‘ class=”caret-wrap ‘ . $item->menu_order . ‘” style=”‘ . esc_attr( $caret_wrap_css ) . ‘”>’;
Thanks!
Rick
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Accessibility: missing space on menu HTML’ is closed to new replies.