A total of 21 states and Washington, D.C., allow voters to register on Election Day for the midterms.