There actually are actually various point systems that are is used in entertainment writing right now which enforce diversity... legit had to take a course on it when I went back to university to finish a comm-tech degree. Here is an example of one:
The Inclusion List is being released Thursday
spectrumnews1.com
This leads to self policing in the industry. I am actually surprised they haven't introduced her GF or had her seduce a chick as a plot gambit.
Perhaps the funniest fulfillment of this diversity requirements was in "Banshee" where they went full hog and made the tech sidekick a cross dressing Asian dude.
Honestly I think much of this is offensive to the groups being patronized. For example in various shows about EMS or PD they will often have lesbian characters who are depicted as way more focused on their love life and conflicts than on the actual job they are trying to do. Generally that is the farthest from the case in real life.