Even if the intent wasnt to be racist or homophobic they still were racist or homophobic and therefore because they were racist or homophobic they should be punished.
There is no case in which people should be racist or homophobic even if they don't know what those terms mean (then they shouldn't use them) and it is very insulting to those groups of people
Acceptance is what differentiates normal humans and the monsters of history (Hitler/the nazi party , IS, Rwandan genocides) and using these terms is telling these groups of people that they shouldn't exist regardless of the user`s intent
EDIT: all three come under hate speech laws of most countries so if you believe that the first two are trivial hen pick that up with your respective government
EDIT 2 : by UK law, even saying/issuing these words defines your intent as wanting to harass this[/these people/person therefore by UK law, your intent is predefined and therefore your point about intent is legally incorrect.
EDIT 3: by UK law these words do come under harassment and therefore not "trivial
EDIT 4 : in the summoners code (yes I've actually read it) it says not to be abusive and I'm pretty sure racism and homophobia comes under abusiveness
EDIT 5 : in the summoners code it dictates to lead by example, the allowance of homophobic and racist behaviour is not a good example of leading by example
BTW not a lawyer and never intend to be