Mahara 17.04+
The "collapsed" state of the Show Main Menu / User Menu / Admin Menu button should become "Expanded" as the main menu has been expanded.
When a screen reader focuses on the "Show main menu" button for the first time, the screen reader speaks "Show main menu, collapsed" as it is collapsed. But when the user presses Enter and the menu expands, the screen reader still says "Show main menu, collapsed", instead of saying "Show main menu, expanded".
It is important to note that on the menu items e.g. Show menu for content, show menu for portfolio, show menu for groups, the screen reader is correctly able to speak the collapsed or expanded state of the menu items. The issue is present only in the main menu, administration menu, and user menu buttons.
I can't replicate this issue. We made changes to the menu recently. This could've fixed it.
I tried with the Orca screen reader for Ubuntu on "Browse mode". This is the result:
I reload the page.
On the first time I reach the Main menu
Screen reader says: "Show main menu collapsed, push button"
I press return key.
Screen reader says: "Return, expanded"
I press return key.
Screen reader says: "Return, collapsed"
I move to the administration menu.
On first reach, the screen reader says: "Show administration menu collapsed, pushed button"
I press return key
Screen reader says: "Return, expanded"
I press return key
Screen reader says: "Return, collapsed"
All the screen reader actions correspond to the visual actions of the menu.
Another issue: while I was checking is that the submenu titles have links but we can't actually be redirected by clicking on them. The click event is used to collapse or expand the submenus. Should we removed them?