What did the book Roots by Alex Haley have to do with civil rights?

Roots Connection with Civil Rights

It had to do with emancipation and freedom, setting the stage for future civil rights to be had for all. Prior to Roots, many Americans, both black and white, incorrectly assumed that the original African slaves were "naked savages" without any culture of their own. Roots presented the rich cultural and social heritage of African Americans, and inspired a new-found pride that supported the growing civil rights movement.

The answer above is wrong.

By the time Haley's fiction book was published, all of the race discrimination civil rights laws now in effect had already been passed.

The book changed nothing about race relations or civil rights.