Did the No Child Left Behind Act and similar legislation prohibit schools from holding students back?
No.
No Child Left Behind, signed into law in 2002, and its successor, the Every Student Succeeds Act, contain no statutory language prohibiting schools from holding students back. Promotion and retention, though variably influenced by legislative incentives, are under state and local purview.
NCLB created sanctions to hold schools accountable