Proposed law aimed at fighting distracted pedestrians