Skip to content

Context pad items are not accessible with the keyboard #5686

@lmbateman

Description

@lmbateman

Describe the bug

When I tab to the "improved" context pad and try to use Return or Space to activate a button inside it, nothing happens.

Steps to reproduce

  1. Open a BPMN diagram.
  2. In the Desktop Modeler, click an element to display the context pad. (This isn't necessary in Web Modeler.)
  3. Press Tab until you reach the first button in the context pad.
  4. Press Return. Observe that nothing happens.
  5. Press Space. Observe that nothing happens.
  6. Tab to the next button and press Return and/or Space. Repeat for all buttons.
Screen.Recording.2026-03-03.at.7.26.30.PM.mov

Expected behavior

  • In most cases, pressing Return and Space when a context pad button is focused should activate the button. The exceptions are
    • The "Connect to other element" button, which probably isn't feasible with the keyboard at the moment
    • The Comment button - likely feasible to do something reasonable, but needs some consideration as to how it should work
    • The Annotation button - ditto
  • I should then be able to navigate through the focusable elements in the popups using Tab.
  • When I reach the last focusable item in a popup, pressing Tab should take me to the next button in the context pad.
    • The exception is Delete, since (a) there's no next button in the context pad, and (b) the context pad vanishes when the element is deleted. In this case, I suggest putting focus on the next focusable element after the context pad (the first button in the canvas tools for WM, the first focusable item in the properties panel for DM).

Environment

Camunda Modeler system information

  • Version: 5.44.0
  • Operating System: Mac OS 10.15.7
  • Plugins: bpmn-js Token Simulation
  • Execution Platform: BPMN - Camunda 8

Additional context

Web Modeler team requested this be moved from 21317 to the Core Modeling team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11ybacklogQueued in backlogbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions