A local authority may by ordinance:
(1) require pedestrians to comply strictly with the directions of an official traffic control signal; and
(2) prohibit pedestrians from crossing a roadway in a business district or a designated highway except in a crosswalk.