Review main Ready for review

98220[BUGFIX] Expose the selected tree item with aria-selected

Alexander Hahn CR 0 V 0 Normal +72 −3 updated 11/30/26, 14:31

Commit message

The items of the page tree, the file tree and the other trees based on
the backend tree marked the selected node only with a CSS class, so
screen readers could not tell which page or folder is selected.

Every tree item now carries aria-selected, "true" for the selected
node and "false" for the others. The selectTree element of
FormEngine allows several selected items unless maxitems is 1, so its
tree is marked as aria-multiselectable in that case.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/20/98220/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/20/98220/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 6

Issues 1

Files 6

Review log 12

  1. Alexander Hahn uploaded patch set 1 11/30/26, 14:15

  2. core-ci voted on patch set 1 V +1 11/30/26, 14:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116026