Windows has been showing popup USB speed warnings since at least Windows XP.... so 25 years?
Let's not use this cope to mislead anyone into thinking this is a unique Mac innovation (it isn't) that trumps this abomination of human factors (it doesn't).
I have never ever seen Windows provide this warning even once just because there is a faster port on the machine and the user plugged the device into the wrong one. Please provide a source for this claim that you are making. Citation absolutely needed.
In the unlikely case that this feature exists thanks to Microsoft, I would like to say that is great, because it is much more user friendly than only having tiny labels. But since I’ve never seen this feature work before, it seems to me that it must be broken, if it exists at all.
These warning messages do exist, at least for if your computer supports USB4 but not on that port, or thunderbolt / DP alternate mode but not on that port
https://learn.microsoft.com/en-us/windows-hardware/drivers/u...
The OP might be remembering this (link) style of message from the Windows XP days. I don't think I've seen it for windows 7/10/11, sadly.
It will warn you if you're charging over the slower to charge port, though.
https://superuser.com/questions/1022542/windows-10-display-a...