-
Improvement
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_402_STABLE
-
MDL-76246-master -
-
10
-
Team Alpha - Sprint 2, Team Alpha - Sprint 1 I1-2023
As the search widgets act more as a select element rather than a menu we should do the following:
Structure
- Add role="combobox" to the elements that trigger the dropdown (data-toggle="dropdown")
- The .searchresultitemscontainer element should have role="listbox" instead of "menu" (same for the .unsearchablecontentcontainer element)
- The items within the "listbox" element should have role="option"
- The trigger element (data-toggle="dropdown") should have a data attribute that references the selected option (e.g 'aria-activedescendant' as defined in theme/boost/amd/src/aria.js)
- The selected option should have data-selected="true" attribute // grep for this MDL as the webservices have some bootstrapping done
Keyboard interaction
- The search input should be active and remain active even when navigating through the listbox elements.
- We need to enable keyboard navigation (using arrow keys) through the items where the starting point is the selected option.
- caused a regression
-
MDL-78683 Dropdown keyboard search should not search when a meta key is pressed
- Open
-
MDL-77889 Adding a required parameter to the init function in basewidget.js breaks backwards compatibility
- Closed
-
MDL-78377 Group selector not working properly when using pagination on the grader report
- Closed
- Discovered while testing
-
MDL-75837 Replace the modals with dropdowns in the search widgets in the grade reports
- Closed