Skip to content

Conversation

@kgogov
Copy link
Contributor

@kgogov kgogov commented Nov 20, 2025

Todo

  • add proper description

Jira: BGSOFUIPIRIN-6942
Fixes #11987

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Nov 20, 2025

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 20, 2025 12:53 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 20, 2025 14:24 Inactive
F7 key enables navigation between list item and internal focusable elements:
- If focus is on item level, moves focus to previously focused internal element (or first if none)
- If focus is on internal element, saves focus position and moves back to item level
- Add Cypress tests for F7 functionality
- Add test page for manual F7 validation

Jira: BGSOFUIPIRIN-6942
Related: #11987
Fixes TypeScript linter errors for awaiting non-Promise parent calls
F7 navigation now remembers the focused element position when
moving between list items. Pressing F7 focuses the element at
the same index that was previously focused in another item.

The List component stores a shared _lastFocusedElementIndex
property, and ListItem uses getTabbableElements to reliably
find focusable elements. Helper methods handle focusing by
index and updating the stored position.
…ents

Arrow Up/Down keys now navigate between same-index focusable elements
across list items when focus is inside the internal content of list items.
This allows users to navigate column-wise through structured list items.

Key features:
- Navigate between corresponding elements across items (e.g., first button
  to first button in next/previous item)
- Automatically skip items without focusable elements
- Works across ui5-li-group boundaries
- Preserves existing F2/F7/Tab navigation
- Only prevents default scroll when List handles the event (growing button)
Add comprehensive test page for arrow key navigation between
internal elements across list items. Includes 8 test examples
covering basic navigation, mixed items, groups, boundary cases,
selection modes, and nested lists.
@kgogov kgogov force-pushed the list-item-custom-keyboard-navigation branch from 8d06bd6 to 324c292 Compare November 20, 2025 14:35
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 20, 2025 14:42 Inactive
Add cypress tests for arrow key navigation between internal elements
across list items. Tests cover basic navigation, skipping standard items,
group boundaries, varying element counts, and boundary conditions.
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 20, 2025 15:01 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SF_ACC][[ui5-List]: Unable to scroll down via down arrow when focus on item control

3 participants