Review main Merged Breaking

73216[!!!][TASK] Remove built-in support for accesskeys in HMENU

Benni Mack CR +2 V +2 Normal +61 −54 updated 01/31/22, 13:06

Commit message

The HTML standard "accesskey" is built into TYPO3's
HMENU functionality, with only limited support:

* No cross-platform labeling possible
* No concrete definition possible via TypoScript (AccessPad)
* Random access based on the menu items' title
* Legacy implementation based on TSFE state

In addition, proper browser support has been poorly,
and it is only recommended for specific use-cases,
not really for a11y purposes.

For this reason, this feature is removed as is, and
should be implemented in the TYPO3 Frontend when it is
needed in custom extensions or via JavaScript support:

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey#accessibility_concerns
https://webaim.org/standards/wcag/checklist#:~:text=accesskey%20should%20typically%20be%20avoided

The HMENU property "accessKey" will stop working
in TYPO3 v12.0.

Side-note: An additional, leftover reference ("collapse") in tsref.xml
was also removed for HMENU.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7