-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.8, 4.4, 4.5
When there are recommended activities in /course/recommendations.php and configsetting activitychoosertabmode is set in a way that the recommended tab is shown first when adding a activity, the tabindex is not set correctly so its impossible to navigate to the activities via keyboard.
When switching and returning to recommended tab, it works.
Partial Solution:
I managed to fix a part of the problem in activitychooser.mustache, via setting the tabindex to 0 in the #recommendedBeginning part, so the tab is reachable.
Dont know how to do it for the activities, unfortunately.
If anyone can point me in the right direction, i will try to fix that, too.
To fix the activities, i had to set aria selected to true, to match the js selectors.
Also it will only get a tabindex when #faouritesFirst is false.