Skip to content

Space key selects wrong resource when navigating with Tab key #13623

@anon-pradip

Description

@anon-pradip

Bug Report

Version: Infinite Scale 8.0.0+6cfbaa3214b Community | ownCloud Web UI 12.3.1


Summary

Two related keyboard accessibility issues affect resource selection in the file list:

  1. Space key does not activate the focused element — Tab navigation visually focuses an element, but pressing Space does not trigger selection on it.
  2. Space key selects the previously mouse-clicked resource — instead of the currently Tab-focused resource, the action is dispatched to whichever resource was last interacted with via mouse.

This makes keyboard-only and assistive-technology navigation effectively broken for multi-selecting files/folders.


Steps to Reproduce

Issue 1 — Space key doesn't work at all for selection in files list

  1. Open the file list view.
  2. Do not click anything with the mouse.
  3. Press Tab to navigate to a resource checkbox.
  4. Confirm the element is visually focused (focus ring visible).
  5. Press Space.

Expected: The checkbox is checked / resource is selected.
Actual: Nothing happens.


Issue 2 — Space key selects the wrong resource

  1. Open the file list view.
  2. Click a resource (e.g. a file) using the mouse — its checkbox becomes checked.
  3. Use Tab to navigate keyboard focus to a different resource's checkbox (e.g. a folder).
  4. Confirm visual focus is on the second resource.
  5. Press Space.

Expected: The second (Tab-focused) resource is selected/deselected.
Actual: The first (previously mouse-clicked) resource is toggled instead.

  1. Continue pressing Tab to other resources and pressing Space on each.

Actual (continued): Every Space keypress keeps acting on the originally mouse-clicked resource — focus and action are fully desynchronized.


Expected Behavior

  • Space should activate the element that currently holds keyboard focus.
  • Keyboard focus (via Tab) and the active interaction target should always be in sync.

Actual Behavior

  • Space either does nothing, or fires on the last mouse-clicked resource regardless of where keyboard focus is.
  • Multi-select via keyboard is non-functional.

Important

Same issue exists in Space list view too.

Environment

ownCloud Infinite Scale 8.0.0+6cfbaa3214b Community
ownCloud Web UI 12.3.1

Additional Notes

  • Tab navigation itself works correctly (focus ring appears on the right element).

Video:

Screencast.from.2026-03-10.11-51-08.mp4

Metadata

Metadata

Assignees

Labels

Type:BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions