-
Bug
-
Resolution: Fixed
-
Critical
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-68051-master-2 -
-
1
-
Activity Sprint 8, Activity Sprint 9, Activity Sprint 10
Seems like we missed some items about the accessibility of the tabs for the activity chooser.
Switching tabs
The keyboard navigation between the tabs and their respective tab panels seem to be broken after switching between tabs. To reproduce:
-
- Switch to another tab using the keyboard.
- Press tab again. Expected behaviour:
When the tab list contains the focus, moves focus to the next element in the tab sequence, which is the tabpanel element.
However, the focus does not move to the tab panel.
Number of tabs
- Even when the Favourites or Recommended tabs are hidden, the screen reader keeps announcing that there are 3 tabs on the list. This will be confusing to the user.
Axe
- Axe is reporting the following violation about the tab list:
<li> elements must be contained in a <ul> or <ol>
Issue description: Ensures <li> elements are used semantically
Impact: serious
Element location
#activities-5 > .nav-item:nth-child(1)
Element source
<li class="nav-item">
To solve this violation, you need to:
Fix the following:
List item does not have a <ul>, <ol> without a role, or a role="list" parent element
Perhaps we can render the tab list as not an unordered list, similar to https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html?
Tabs keyboard navigation
- Tabs keyboard navigation is not working in certain browsers (ex. Firefox).
This is due to the usages of 'e.srcElement' which is not supported in every browser.
- Discovered while testing
-
MDL-67584 Front end implementation of indicating favourites with a star
- Closed
- has a non-specific relationship to
-
MDL-67321 Support categories/tabs in the activity chooser
- Closed
- has to be finished together with
-
MDL-68207 Activity chooser keyboard navigation => select activity
- Open
- will be (partly) resolved by
-
MDL-67263 Ability to search in the activity chooser
- Closed