Netflix has to provide closed captioning on its online video, according to a court ruling in a lawsuit brought by the National Association for the Deaf.