Judges and MPs will be subject to sexual harassment laws under new legislation passed by the South Australian parliament.
Under the changes to the Equal Opportunity Act, sexual harassment provisions will extend to MPs in their dealings with other MPs and judicial officers in their dealings with other judicial officers
Attorney-General Vickie Chapman said the changes would bring South Australia's sexual harassment laws in line with community expectations.
"The public expect parliamentarians to held to the same legal standard as everyone else and this legislation rectifies a significant flaw in the existing legal framework," she said.
"These changes subject parliamentarians to a far higher standard when it comes to this type of inappropriate behaviour and ensure there are clear mechanisms in place to allow for allegations to be investigated thoroughly and promptly."
Before the changes, SA's sexual harassment laws made no reference to conduct involving members of the two groups who offended against fellow members.
"Since that debate, community attitudes have shifted, we have a greater understanding of the insidious nature of this kind of behaviour and it's clear the public do not tolerate this type of behaviour from their elected representatives," Ms Chapman said.
"Sexual harassment is unlawful behaviour and, in this day and age, there is no reason why MPs or judicial officers should be immune from these laws."
The changes allow MPs and judicial officers to make a complaint to the Commissioner for Equal Opportunity under the Equal Opportunity Act.