Sentence length affects readability by making text easier or harder to read, shorter sentences are easier to read, while longer sentences can be more difficult.