Review main Merged

98169[BUGFIX] Make Camino main menu keyboard accessible

Benni Mack CR +2 V +2 Hard +323 −94 updated 12/01/26, 08:23

Commit message

The main menu of the Camino theme could not be used with a
keyboard: the mobile menu button was rendered as a span, sub
menus only opened on hover, and the parent link doubled as the
sub menu opener.

The menu now follows the disclosure navigation pattern:

* the mobile menu button is a real button with aria-expanded
* each sub menu gets a dedicated toggle button, so parent
  pages stay reachable as links on all viewports
* the sub menu toggle shows a focus outline that stays visible on
  the coloured header
* arrow keys, Home and End move within the menu levels,
  Escape closes the innermost open part and restores focus
* the page content is made inert while the mobile menu is open
* the current page is marked with aria-current

The unused "back" button in sub menus is removed.
Show more Show less

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Alexander Hahn +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Alexander Hahn +1
    • core-ci +1 CI

Issues 1

Files 4

Review log 57

  1. Benni Mack uploaded patch set 1 11/28/26, 21:17

  2. core-ci voted on patch set 1 V +1 11/28/26, 21:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115899

  3. Alexander Hahn uploaded patch set 2 V +1 12/01/26, 07:23

  4. core-ci voted on patch set 2 V +1 12/01/26, 07:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116074

  5. Alexander Hahn commented on patch set 2 CR +1 V +1 12/01/26, 07:32

    Tested on desktop and mobile with the keyboard, works fine. Patchset 2 only adds a visible focus outline to the sub menu toggle.
  6. Georg Ringer voted on patch set 2 CR +2 V +2 12/01/26, 08:16

  7. Georg Ringer merged patch set 3 12/01/26, 08:23