We strongly advise you to put on your helmet and lock it, to put on a fluorescent vest to be visible, to ride with full headlights during the day, of course gloves, boots and a padded jacket
There is a whole world between the rules of the road and the behavior of the inhabitants. Non-respect of speed limits, overtaking on the right, no entry, blown red lights… Driving in Morocco and particularly in the big cities, can be risky and requires even more vigilance than usual, personally I am very also pay attention to the asphalt in case there is oil, motor oil, small pebbles… which can cause you to slip.
Also in roundabouts people don’t stay in their lines and this not just in Morocco but all over the world