The unexpected pregnancy trope is fairly common. In modern shows lip service is almost always given to abortion being an option but I can’t think of a single show where one of the protagonist actually decides to have one. No matter how “woke” the show is abortion just seems to be something that no good character is allowed to do. Seems kinda fucked up to me.
Crazy Ex-Girlfriend had an abortion episode back in 2016. The protagonist’s best friend - a mother of three whose husband is cheating on her - ends up getting an abortion.