Democratic gubernatorial hopeful Martha Coakley voted in Medford with her husband, Tom O’Connor.