A court may issue an injunction or grant other equitable relief appropriate to ensure substantial compliance with, or enforce, this article on application by:

(1) a covered voter alleging a grievance under this article; or

(2) an election official in this State.