Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error: An “li” element that is a descendant of a “role=menu” element or “role=menubar” element must not have any “role” value other than “group”, “menuitem”, “menuitemcheckbox”, “menuitemradio”, or “separator”.
https://mantis.ilias.de/view.php?id=47059

ARIA forbids role="treeitem" inside role="menu". For LegacySlates
(e.g. tree tools) use role="navigation" instead of "menu". Add
NAVIGATION to allowed Slate ARIA roles and set it in Renderer when
entry is LegacySlate. Adjust MainBarTest for LegacySlate expectation.

Problem

  • Validator/ARIA: <li role="treeitem"> innerhalb von role="menu" ist ungültig (z. B. Tree-Tools in der MainBar).

Lösung

  • Slate: NAVIGATION als erlaubte ARIA-Rolle ergänzt.
  • MainControls-Renderer: Bei LegacySlate (z. B. Tree-Tools) role="navigation" statt "menu" setzen.
  • MainBarTest: Für LegacySlate (Help-Tool) role="navigation" erwarten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants