Our priest has spoken generally about dress from the pulpit. However, he did it in the context of everyone's dress, which I fully agree with. (There is very little excuse on a Sunday -- not a workday -- for men coming to Mass dressed as sloppily and irreverently as some of them do, which means jeans, t-shirts, athletic shoes for a man without a medical/therapeutic need for special shoes. A healthy man of 30 deliberately donning gym shorts, and bringing along children wearing the same attire is completely failing in his fatherly responsibility, by example and by instruction.)
So what the priest said was that if we consider what we are doing and celebrating and professing when we come to Mass, we will not be able to dress as if something else is taking place. And except for the few unfortunate exceptions on the part of those men, above, fathers who bring their families are generally doing a very good job monitoring, because none of their wives and daughters are dressing inappropriately. Again, it's the women coming singly that can be problematic, but the priest does not correct them, we women do -- not officially or by being "deputized" to do that, but informally and privately, usually in a positive ("Helpful") spirit, while empathizing with them about the difficulty of dressing modestly in contemporary times. (Many of us have to modify our wardrobes in some way, such as layering our tops, wearing sweaters, shawls, what-have-you, even layering skirts sometimes.)
A few women wear pants. The rest of us women never get that, because we know that actually it is easier to wear skirts than pants, despite the mythology of the reverse. One has to worry much more about fit with pants than with skirts. The skirt just has to vaguely fit in the waist and not be too revealing in the behind or in the fabric; you put it on and you don't worry about it. End of story.