[wp-trac] [WordPress Trac] #26639: Insufficient keyboard accessibility of the main menu for mobile version Dashboard
WordPress Trac
noreply at wordpress.org
Tue Dec 17 14:42:06 UTC 2013
#26639: Insufficient keyboard accessibility of the main menu for mobile version
Dashboard
---------------------------+--------------------
Reporter: rianrietveld | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.8.1
Component: Accessibility | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+--------------------
Comment (by SergeyBiryukov):
Setting the `aria-expanded` attribute doesn't work as expected for me in
Firefox 25.
On page load, `aria-expanded` is added to the link, however, the JS adds
it to the `<span>` element instead:
{{{
<a class="ab-item" href="#" aria-expanded="false">
<span class="ab-icon" aria-hidden="true" aria-
expanded="false"></span>
<span class="screen-reader-text">Menu</span>
</a>
}}}
[attachment:26639.3.diff] uses `$(this).find('a')` to set the attribute,
which seems to work as expected.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26639#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list