Ensure onClick events are keyboard accessible

Description

Some interactive elements can't be activated by the keyboard because they are div's - particularly tabular menus, accordions - as onClick events can only be reliably activated with enter/spacebar when they are natively focussable elements (ie. <button> or <a> containing href...).

We need to ensure the onClick eventlistener also finds enter/spacebar. An example of a suitable function is:

Activity

Abi James March 8, 2017 at 12:54 PM

Examples of current functionality that is not keyboard accessible:

1. changing tabs in the ContentModule area below the slide
2. opening the accordion in the Contributors tab

Done

Details

Assignee

Reporter

Priority

Who's Looking?

Open Who's Looking?

Created March 8, 2017 at 12:49 PM
Updated December 19, 2018 at 12:46 PM
Resolved December 19, 2018 at 12:46 PM
Who's Looking?