[wp-trac] [WordPress Trac] #39026: Twenty Seventeen: active submenu toggle button initial state should have aria expanded true
WordPress Trac
noreply at wordpress.org
Fri Dec 2 11:04:38 UTC 2016
#39026: Twenty Seventeen: active submenu toggle button initial state should have
aria expanded true
---------------------------+-----------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords: has-screenshots needs-patch
Focuses: |
---------------------------+-----------------------------------------
In Twenty Seventeen, when in the responsive view and when the current menu
item is a subitem, the menu shows the active tree expanded. By the way,
the submenu toggle button has a wrong initial state. When setting the
initial state, 'aria-expanded="true"` should be set together with the CSS
class 'toggled-on'.
See in the screenshot below: the current page is "Page Markup And
Formatting", the tree it belongs to is expanded, the related toggle button
has the proper icon but the wrong `aria-expanded` value:
[[Image(https://cldup.com/gdiPiGbWyE.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39026>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list