'Southern Democrats' of the 1800s aren’t the Democratic Party of today. Party ideologies realigned, especially after the Civil Rights era. Trying to pin slavery on modern Democrats is just bad-faith time travel. When the Civil Rights Act passed, segregationists fled to the GOP, and the map flipped.