USB 3 is supposed to be backwards compatible with USB 2, but I found that the USB 2 ports on the Raspberry Pi 3 will not make a reliable connection to some USB 3 devices like the D-link DWA-182 802.11ac adapter. I found that pulling the plug slightly out improved the connection, so it looks like the root cause is the USB 2 socket pins are making contact right on the edge of the USB 2 pins in the USB 3 plug.
Is that due to the socket being out of spec, the plug being out of spec, both, or an oversight in the specifications?