The legislation is related to a disagreement between the Alabama High School Athletic Association and state lawmakers.