“While TKAM is a work of fiction, it is based on the real life Scottsboro trial.”
I see no relation between them, other than they involve a black (or multiple blacks) accused of raping a white.
Poor choice of words on my part: the author was inspired by the Scottsboro trial.