Arizona's Latch Rule
Arizona's pool statute allows a pool-side latch at least 5 inches below the gate top, with no opening over 1/2 inch within 24 inches of the release. See the Arizona pool fence law page.
Gate Repair
A latch that fails to catch is a code failure. See self-closing pool gates.