A school for children with learning disabilities has been rated "good" by Ofsted.