mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
942868a1a6
When accessing a datepicker that is within a dropdown menu using the tab key, the navigation sequence was changed since the datepicker code is not rendered within the dropdown menu element, thus the dropdown was closed as it was understood that we were not more inside it. Furthermore, when exiting the datepicker by pressing tab, as the dropdown was closed, the navigation jumped to the first element on the page, which is the link to Skip to main content. To resolve this, a validation was added that keeps the dropdown menu open if the datepicker is open and accessed via the tab key.