Ensure simulated controls are keyboard accessible - Morpheus

Description

The left hand side navigation of the environment provides a series of links that can be used to navigate through pages of content. A control is provided at the top of the navigation that when activated allows the user to either expand or collapse the side navigation entirely. However, this control currently does not receive keyboard focus and therefore cannot be activated by a keyboard only user.

Developers must ensure that all simulated controls implemented provide support for keyboard accessibility. As this control is created by placing event handlers on an <li> element, the element itself must be assigned <tabindex="0"> in order to draw keyboard focus, as well as device-independent event handlers to allow keyboard only users to activate the control with the "Enter" key.

Attachments

2

Activity

Show:

Matt Clare July 13, 2017 at 10:59 AM

Button markup is an improvement and functional.

Tested on https://trunk-mysql.nightly.sakaiproject.org Thursday July 13, 2017

https://www.screencast.com/t/hRYsRMWY0YdD

Order isn't perfect, and the control is a little finicky as tested in Chrome, this does indeed bring this functionality into keyboard-only use and removes reliance on touch/mouse.

Matt Clare April 5, 2017 at 1:35 PM

Affects 12/Master as of Wednesday April 5, 2017

Matt Clare October 3, 2016 at 1:50 PM

... this could use a more prescriptive response...

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created August 2, 2016 at 1:09 PM
Updated August 8, 2017 at 10:33 AM
Resolved June 13, 2017 at 9:14 AM