? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
16 Aug 2019

I know it seems obvious to put role=menu, role=menuitem on our main menu but it is completely wrong. It is primarily for mimicking native OS menus not for navigation menus.

"Don’t Use ARIA Menu Roles for Site Nav" Adrian Roselli
"Don’t use ARIA menu semantics in navigation menu systems." inclusive design

Also it is wrong to have aria-haspopup to indicate the presence of a collapsed submenu - the correct attribute is aria-expanded=true/false

"Use aria-expanded to indicate the open/closed state of a button-activated navigation menu." inclusive design

This also fixes the two critical accessibility errors reported #25855

(PS there will be more PR to come as I check for other mis-uses of menu)

avatar brianteeman brianteeman - open - 16 Aug 2019
avatar brianteeman brianteeman - change - 16 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2019
Category Modules Administration
avatar richard67 richard67 - test_item - 16 Aug 2019 - Tested successfully
avatar richard67
richard67 - comment - 16 Aug 2019

I have tested this item successfully on ecb94ec

Reviewed code and the citations in the description, and tested that admin menu is still working as expected with this PR applied.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25909.

avatar richard67
richard67 - comment - 16 Aug 2019

I have tested this item successfully on ecb94ec

Reviewed code and the citations in the description, and tested that admin menu is still working as expected with this PR applied.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25909.

avatar wilsonge wilsonge - change - 17 Aug 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-17 09:50:52
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Aug 2019
avatar wilsonge wilsonge - merge - 17 Aug 2019
avatar wilsonge
wilsonge - comment - 17 Aug 2019

Thanks!

avatar brianteeman
brianteeman - comment - 17 Aug 2019

Thanks

Add a Comment

Login with GitHub to post a comment