General purpose keyboard mnemonics for all clickable items

I’m sure a lot of people here are very technically minded, and love to do everything with their keyboard. This is why many people prefer doing things in a terminal, or use keyboard shortcuts. so they don’t have to constantly switch between using the keyboard and mouse.

I’ve been browsing the web with an extension called Vimium. It lets you navigate the web using the keyboard entirely. You scroll with j and k. Then, when you want to click on something, you press F. A bunch of letters appear around every link or clickable item. You type in the letter you want, and it’s clicked. Check the video in the link above for a demonstration.

It would be amazing if I could do something like this but in Plasma. Press a hotkey, a bunch of letters appear on the screen near to “clickable” buttons. Type in the letters you want, and it performs a click. It’s much better than previous approaches where you’d move the mouse with the keyboard. It is like a “supercharged” version of keyboard mnemonics, which sadly has become less and less supported in today’s desktop programs.. The idea here is that it’s a “general purpose” keyboard shortcut to anything clickable. It does not replace keyboard shortcuts, but is a complement. It might replace traditional mnemonics though.

I don’t know what changes in code are needed for this to be achieved. Is this something that needs to be done per-app, or perhaps something in the KDE frameworks, or something that Qt needs to support? I’m sure it’s not very easy. But I’d like to put this idea out there.