BOSTON (AP) — Reducing deaths and injuries among pedestrians and bicyclists is the primary goal of a traffic safety bill advancing on Beacon Hill.

The legislation approved in the state Senate this past week would require motorists to pass “vulnerable road users” at a safe distance.

Vulnerable road users would include pedestrians, cyclists and skateboarders, along with road crews, utility workers and first responders. Vehicles traveling 30 miles per hour or slower would be required to provide at least three feet of clearance when passing these individuals, with additional spacing required for higher speeds.

The bill also would require that trucks owned, leased or contracted by the state to be equipped with convex mirrors and other protective devices to reduce the risk of vulnerable road users being swept under the trucks during crashes.