There has been a fair amount of chortling over the fact that two of Donald Trump's children won't be able to vote for him in New York's upcoming presidential primary. Their failure to register as Republicans may indeed, as his delighted critics were quick to point out, be another sign of Trump running a mistake-prone campaign. But their disenfranchisement is also indicative of the needless barriers that prevent far too many people from casting ballots.

Ivanka and Eric Trump ran afoul of New York's overly restrictive voting laws. New York does not allow same-day registration, party primaries are open only to registered Democrats and Republicans, and new voters must register at least 25 days in advance in order to participate. Most absurdly, anyone registered to vote who wanted to change their party registration to vote in Tuesday's primary needed to have done so by Oct. 9 of last year. This is the rule that tripped up the unaffiliated Trumps. Six months before the primary? What purpose does that serve beyond suppressing democracy?

With the primaries in New York unusually competitive this year, the Trumps are not the only ones finding themselves shut out. Chances are a lot of those college students who jammed Wednesday's rally for Sen. Bernie Sanders may be independent, first-time voters who will find out Tuesday they can't vote. Susan Lerner, executive director of the state's Common Cause affiliate, told the Atlantic: "We're hearing from a lot of really well-engaged, well-informed people who were not aware that the deadline was last Oct. 9."

What is needed are reforms — such as automatic registration using reliable information from government lists or online access so voters can check and update registration — to modernize the system and make it easier to vote.

Sadly, though, the trend seems to be moving in the opposite direction. Witness the proliferation of state laws requiring voters to present photo IDs at the polls or requiring proof of citizenship to register.

Ivanka and Eric Trump are right to feel embarrassed about not voting Tuesday. But the true guilty parties are those responsible for maintaining high barriers to the franchise.

FROM AN EDITORIAL IN THE WASHINGTON POST