They used to be discoverable with mnemonics (underlined letters) but those have been dead nearly thirty years…
I wouldn't say they're dead, just more hidden (e.g. GTK4 only shows them when you hold Alt). AFAIK most toolkits still support them, but app developers also have to actually define them.
these still exist on windows though? you just hold alt