It goes without saying, or at least it should, ALWAYS, ALWAYS, ALWAYS WATCH YOU KIDS AROUND WATER!
When it comes to purchasing a home in Arizona with a pool The Arizona Association of REALTORS® (AAR) Residential Resale Purchase Contract states in section 6g lines 225-228;
“Swimming Pool Barrier Regulations: During the Inspection Period, Buyer agrees to investigate all applicable state, county and municipal Swimming Pool barrier regulations and agrees to comply with and pay all costs of compliance with said regulations prior to occupying the Premises, unless otherwise agreed in writing. If the Premises contains a Swimming Pool, Buyer acknowledges receipt of the Arizona Department of Health Services approved private pool safety notice.”