You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<nav><ul><li><ahref="#">menu item 1</a></li><li><ahref="#">menu item 2</a></li><li><ahref="#">menu item 3</a></li><li><ahref="#">menu item 4</a></li><liclass="nav__dropdown-wrapper priority-nav__wrapper" aria-haspopup="true"><!-- Keep new <ul> inside the current <ul> --><buttonaria-controls="menu" class="nav__dropdown-toggle priority-nav__dropdown-toggle priority-nav-is-visible" prioritynav-count="2">
more
</button><ularia-hidden="true" class="nav__dropdown priority-nav__dropdown"><!-- Needs id="menu" --><li><ahref="#">menu item 5</a></li><li><ahref="#">menu item 6</a></li></ul></li></ul></nav>
Reasoning:
The Priority+ <ul> is directly related to the parent <ul>. The Priority+ <ul> is effectively a dropdown menu within the parent menu. Because of this, the markup should represent the parent/child relationship. I think this would help accessibility and be a benefit for assistive technology users.
The text was updated successfully, but these errors were encountered:
The Current Markup:
Proposed markup:
Reasoning:
The Priority+
<ul>
is directly related to the parent<ul>
. The Priority+<ul>
is effectively a dropdown menu within the parent menu. Because of this, the markup should represent the parent/child relationship. I think this would help accessibility and be a benefit for assistive technology users.The text was updated successfully, but these errors were encountered: