Japanese lawmakers enacted legislation Friday that allows the option of joint custody of children after divorce.

For decades in Japan, one parent — almost always the mother — has been granted legal custody when a marriage ends, a rule seen by its supporters as a safeguard against domestic violence and child abuse.

But concerns have been raised that it can cause meaningful contact to be cut off between the other parent and their child.