The Justice Department on Wednesday put states and local officials on notice of their federal obligations when conducting post-election audits and dictating the rules for casting ballots.