Skip to content

Conversation

@kgogov
Copy link
Contributor

@kgogov kgogov commented Nov 11, 2025

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

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Nov 11, 2025

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 11, 2025 15:04 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 11, 2025 15:10 Inactive
@kgogov kgogov force-pushed the list-item-custom-F7 branch from 56aa453 to 8ae44b3 Compare November 11, 2025 15:12
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 11, 2025 15:18 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
@kgogov kgogov force-pushed the list-item-custom-F7 branch from 8ae44b3 to 65cb4aa Compare November 18, 2025 13:36
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.
@kgogov kgogov force-pushed the list-item-custom-F7 branch from 65cb4aa to da8b792 Compare November 18, 2025 13:55
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.

3 participants