A Pennsylvania state judge on Tuesday blocked the state's voter-identification law from taking effect in time for the November election.

Commonwealth Court Judge Robert Simpson said he thought the measure, which would have required voters to show a photo ID at the polls, could have kept some people from voting, as the law's opponents had argued.

"I'm...