Motorists are not required to yield to pedestrians when they walk against a traffic light.
Drivers should always be willing to give a pedestrian the right-of-way, regardless of whether or not they are legally entitled to it. Always yield the right-of-way to pedestrians, motor vehicles, bicyclists, or anyone else who has moved into an intersection before you.