Strafing works for me on linux with firefox. Maybe it's an OS or browser setting that prevents it?
But I always redefined A and D as strafe-left and strafe-right.
I literally did not know the keyboard shortcut to strafe, because I have probably literally never used it.