Steps to reproduce:
- Edit a page in the classical source editor with OOUI style, e.g. https://www.mediawiki.org/wiki/User:Schnark?action=submit
- Hover over the buttons and observe that they include the exact accesskey in the tooltip, e.g. for me it says Show which changes you made to the text [Alt+Umschalt+v].
- Execute OO.ui.infuse('wpDiffWidget') in the console.
Expected: The tooltip should not change.
Actual: The tooltip gets reset to Show which changes you made to the text [v] without the exact prefix.
The problem seems to be that jquery.accessKeyLabel.js updates the tooltip dynamically, but OO.ui applies the raw tooltip from the infusion data, and thus overrides the changes.