A Perth primary school teacher is facing disciplinary action after she made comments regarding a transgender person on an online news article.

Melanie Kennedy is an employee at Pickering Brook Primary School, and made the comments on a PerthNow story about a transgender woman who was sentenced to six years jail in a WA male prison.

Melanie Newman Kennedy. Credit:Facebook

"At least they put him where he belongs...in a male prison. That is what he is!!!" she wrote.

Her comment accrued 40 likes before a member of the public took issue with what she said.