Metadata
- Source
- FLOE-397
- Type
- Task
- Priority
- Major
- Status
- Closed
- Resolution
- Duplicate
- Assignee
- N/A
- Reporter
- Simon Bates
- Created
2015-06-09T10:08:21.377-0400 - Updated
2015-11-12T14:36:03.668-0500 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- First Discovery
Description
For FLOE-333, we identified the following:
"When focus is moved to the language list, the list of visible languages is not changed and the language at the top of the list is given focus"
In the current implementation, we have the following:
1. On first focusing the list, we start at the top language (not the top visible, but the very first one), scrolling if needed
2. If focus leaves the language list by tabbing and we then refocus the list, we go back to the top of the list (as in 1 above)
3. If focus leaves the language list by clicking the mouse button outside of the list and we then refocus the list, the last selection is remembered
For the keyboard navigation of the language list we are using the Fluid "selectable" jQuery plugin:
The reason for the inconsistency between situation 2 and 3 above is that we are setting "rememberSelectionState: false" but the selectable plugin only unsets the selected element on press of tab. See https://github.com/fluid-project/infusion/blob/df508ecc39d203bceff3f59aec6772d1a706d3c3/src/framework/core/js/jquery.keyboard-a11y.js#L357-L369
To implement the desired behaviour, we would need to put in place a mechanism that sets the selected element to the top visible language either on focusing the list, or on scrolling the list.
Comments
-
Cindy Li commented
2015-11-12T14:36:03.665-0500 This report has been copied to the GPII bug tracker: https://issues.gpii.net/browse/GPII-1467 and all activities should be carried on there.