moodle/theme
Jun Pataleta 1f21daf8b3 MDL-72481 core: Fix more menu keyboard navigation
* Allow the more menu to be rendered as a tablist when needed.
* Let menu_navigation handle keyboard navigation only when
menu items are not rendered as dropdowns. Otherwise, leave
the keyboard navigation handling via the default handlers
(e.g. dropdown.js/aria.js/tab.js).
* When the more menu is rendered as a tablist, use aria-selected
for the selected tab. When it's rendered as a menu, use aria-current
for the selected menu item. (The menuitem role supports aria-current and
not aria-selected)
* Make sure that the active tab is tabbable by default.
* Submenu items should always have tabindex=-1
* Update behat to use css_element instead of xpath. Also, improved it
to consider that it is the active element that should be tabbable.

Co-authored-by: Shamim Rezaie <shamim@moodle.com>
2022-03-15 12:48:21 +11:00
..
boost MDL-72481 core: Fix more menu keyboard navigation 2022-03-15 12:48:21 +11:00
classic Merge branch 'MDL-73908-master' of https://github.com/bmbrands/moodle 2022-03-10 17:15:34 +08:00
font.php MDL-72646 theme: update font download MIME types, RFC-8081 2022-02-16 19:10:05 +13:00
image.php MDL-57965 performance: compress svg files with gzip 2017-03-24 09:55:56 +01:00
index.php MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
javascript.php
jquery.php MDL-57789 files: Reviewed lifetime value 2017-02-25 23:42:37 +01:00
styles.php MDL-67348 theme: Return CSS from localcache if available 2019-11-26 07:24:45 +08:00
styles_debug.php MDL-55751 themes: remove the css chunker 2019-09-09 11:18:05 +02:00
switchdevice.php
upgrade.txt MDL-73347 blocks: New unaddableblocks theme setting 2022-01-14 13:08:48 +01:00
yui_combo.php MDL-68426 theme: Set a limit on paths length in yui_combo 2020-07-09 10:05:59 +08:00
yui_image.php MDL-57789 files: Reviewed lifetime value 2017-02-25 23:42:37 +01:00