I didn't say anywhere that racism is the main reason for Trump's election. I absolutely agree it's mostly to do with poverty, inequality and lack of opportunity. However rises in hate crimes and in racism across the board is a byproduct of Trump's election.
When Hitler came to power, and I'm not a historian here, but I refuse to believe the Germans that backed him (and it's key to point out that initially there was a lot of opposition to his party) were racist. They were however poor, young and angry. Now we know what happened there, a certain minority were blamed for Germany's economic woes and it was all lies.
Now that's an extreme example and before all the right wingers who hate the liberals jump on this, my point is that Trump's campaign and Brexit have absolutely caused a rise of hate against migrants and certain races. It's a horrible byproduct of both events, and I hope whatever people's opinions are, they can see that and don't close the eyes to it just because they voted a certain way.
Also the important thing to point out is that inequality has absolutely nothing to do with immigration. Zero. Yet it's used to blind people and drum up votes and sell papers, all because they are easy targets. Trump knows this and I believe he's cleverer than his persona shows. Just like that cock Boris.
Finally it's interesting you say the left aren't offering an answer to inequality. I can't remember the last real left government we had in power. Blair's labour and that joke that came after him were never truly left wing. It's depressingly that the right always seems to be the UK's answer during difficult periods.