MDL-70792 output: Menu items should have -1 tab index
commitef132f0ab41e9674046a2cc8e2902b257f69452c
authorJun Pataleta <jun@moodle.com>
Wed, 23 Feb 2022 14:39:25 +0000 (23 22:39 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 24 Feb 2022 10:26:14 +0000 (24 18:26 +0800)
tree145e41aa17bb035ff4b3c139cbbe581ee54a1901
parent62a90218e1ba19a5695a7014b5aee2291a2d0131
MDL-70792 output: Menu items should have -1 tab index

* As per WAI ARIA Authoring Practices 1.1 guidelines for menus,
menu items should have a tab index of -1. Navigation between menu items
is done via arrow keys.

See https://www.w3.org/TR/wai-aria-practices-1.1/#menu
lib/outputcomponents.php