I live in Canada, where the equal protection clause looks like this:
Equality before and under law and equal protection and benefit of law
Every individual is equal before and under the law and has the right to the equal protection and equal benefit of the law without discrimination and, in particular, without discrimination based on race, national or ethnic origin, colour, religion, sex, age or mental or physical disability.
But, there are fees to a lawsuit, including things like delivering a Statement of Claim.
While, yes there are programs in place to help you with those fees, it won't help you if you above a certain income (over $34,320 a year in province), or even in certain type of lawsuits (for example, you will not receive any legal aid trying to sue someone for defamation) regardless of income.
Because of that, when someone injures them or have been negligent towards them, and they could potentially sue for damages, it might be harder for those people to actually go through with the procedures, and even more so for categories like defamation.
Also, it is my impression that someone might bring a civil case against people that barely have an average income. In those cases, they seem more likely to, for example, accept to remove the source for a defamation claim, despite everything in the written or recorded statement being true, when compared to wealthier people.
And if the situation was reversed, there is a decent chance that they might not even sue. I'm not sure how true it is, but it seems common amongst the people around me that having more money tends to give you a better chance in court, because your lawyer tends to have more experience, a better team around them from being in a bigger law firm, etc.
With those factors in mind, it appears to me that money is an obstacle that prevents some people from benefitting from the law as much as other people, going against the article above as it creates an unequal benefit of the law, based on the money you make.
But, clearly I haven't seen many people in Canada, or any country that I am aware of with an equal protection clause, that legal fees are unconstitutional, and thus should be removed, which leads me to believe that they are probably constitutional.
So, why aren't legal fees being a barrier of entry unconstitutional? How does it not go against the equal protection clause?