I thought the U.S. Supreme Court ruled voter ID laws were constitutional.
They only ruled specific ones were. They did not rule that all, or even most, were. It only applies to specific circumstances.