[wp-meta] [Making WordPress.org] #6296: Navigation: HTML ul element should not contain aria-expanded
Making WordPress.org
noreply at wordpress.org
Thu Apr 28 03:54:48 UTC 2022
#6296: Navigation: HTML ul element should not contain aria-expanded
--------------------------+--------------------
Reporter: alexstine | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Profiles | Keywords:
--------------------------+--------------------
On profiles.wordpress.org and possibly other sites, the ul element has
aria-expanded.
{{{
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle
dashicons dashicons-arrow-down-alt2" aria-controls="primary-menu" aria-
expanded="false" aria-label="Primary Menu"></button>
<div id="primary-menu"
class="menu">
<ul class="nav-menu" aria-
expanded="false">
<li class=""><a
href="https://login.wordpress.org/register?locale=en_US&redirect_to=https%3A%2F%2Fprofiles.wordpress.org%2Falexstine%2F"
rel="nofollow">Register</a></li>
<li><a
href="https://login.wordpress.org/?redirect_to=https%3A%2F%2Fprofiles.wordpress.org%2Falexstine%2F&locale=en_US"
rel="nofollow">Log In</a></li>
</ul>
</div>
</nav>
}}}
The ul element should not have aria-expanded only a trigger button.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6296>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list