Legal aspects of patient autonomy include the right to informed consent and the right to refuse treatment. Gynecologists must be aware of and comply with legal requirements to ensure that patients' rights are protected. Failure to respect patient autonomy can lead to legal consequences and undermine trust in the healthcare system.