Here, I don't want to be one of those sort who obstruct with vague legal concerns.
Section 32-1-1.1
...
(4) BICYCLE. Every device propelled by human power upon which any person may ride, having two tandem wheels either of which is more than 14 inches in diameter.
...
(34) MOTOR-DRIVEN CYCLE. Every motorcycle, including every motor scooter, with a motor which produces not to exceed five brake horsepower nor to exceed 150 cubic centimeter engine displacement, and weighs less than 200 pounds fully equipped, and every bicycle with motor attached.
...
(81) VEHICLE. Every device in, upon or by which any person or property is or may be transported or drawn upon a highway, excepting devices moved by human power or used exclusively upon stationary rails or tracks or electric personal assistive mobility devices; provided, that for the purposes of this title, a bicycle or a ridden animal shall be deemed a vehicle, except those provisions of this title, which by their very nature can have no application.
...
Section 32-5A-52
No person shall drive any vehicle upon a sidewalk or sidewalk area except upon a permanent or duly authorized temporary driveway.
So we know what constitutes a vehicle in alabama (a motorized bicycle counts) and that it cannot be used on a sidewalk.