There are some other strange usages of AccelStepper methods, but this definitely cannot work. During your long delay() no steps are created, so your stepper does not move. AccelStepper needs a blocking free design.
That's not a problem of AccelStepper.h and Keyboard.h.
Alternatively you could use the MobaTools library, which is able to create the steps even during delay().