What would the legislation look like? How would it be worded to only apply to religious shunning?
What is wrong is the Org took this basic human behavior and harnessed it in to a weapon of their own. THEY tell you who to shun and not shun based not on things people would naturally exclude someone over but based instead on warped concepts and ideals they have come up with.
The fact that the JW's are coerced into shunning for fear that they in turn will be shunned if they don't is what the legislation should be based on. It falls under civil rights and freedom of religion meaning freedom to join or leave any religion. Here's what coerce means:
to compel by force, intimidation, or authority, especially without regard for individual desire or volition
You just announce that so and so is no longer a JW.....and you leave it up to the individuals to decide how far you want to take shunning.
You could shun any discussion about your faith, or you could stop socializing, going out for coffee drinks or dinner. You can show displeasure in other ways.
But there is no need to shun innocent children or not extend family business to issues like health education and other related family concerns.
The WT has been out of control on this issue for a long time using shunning as a weapon. They will change their doctrines if they need to get a person shunned.
Case in point...... It used to be that a DA person was not shunned. But to lower the hammer on Ray Franz and further discredit him they rescinded that policy in favor of shunning DAed ones. A week later Ray was having lunch with his good friend who was also his landlord and part time employer and who had DA himself some time back. Ray was reported to the Society by a local Elder for violating this new rule. They finally had the grounds to DF him and they did. Of course that didn't work out that well for the Society.