A "traffic infraction" is any violation of a statute, ordinance or regulation relating to the operation or use of motor or other vehicles or the use of streets and highways by pedestrians.