Women may be able to vote and have their own bank accounts — but they can’t wear sleeveless dresses at the House of Representatives.

Female reporters and congressional staffers are being forced to cover up their shoulders and ditch open-toed shoes in order to enter the speaker’s lobby outside the House chambers in a move that’s being called archaic.

Sweltering temperatures aside, men are also subject to dress code rules — they’re required to wear a tie and a jacket.

A young, female reporter was recently barred from entering the guarded room outside the House chamber — a strategic spot for post-meeting interviews — because her shoulders were bare and her outfit was deemed “inappropriate,” CBS News reported.

She ripped out pages from her notebook and stuffed them into her dress to cover her shoulders, but a security officer wasn’t having it.

There’s no official rule book or manual for the dress-code requirements — the only specifics, such as they are, can be found in Jefferson’s Manual and Rules of the House of Representatives, which provides a history of the murky guidelines. A 2015 edition gives only the broad outlines of “the customary and traditional attire for Members, including a coat and tie for male Members and appropriate attire for female members.”

Sometimes female reporters are offered sweaters so they can cover up and male reporters have been offered what they call “a tie of shame” when they forget theirs at home.

It’s up to the speaker of the House to determine what is and isn’t appropriate.

Republican House Speaker Paul Ryan’s spokesperson told CBS “all House Floor rules made for Members of Congress and their staff apply to the Speaker’s Lobby,” meaning both male and female reporters are subject to the rules. The rules aren’t enforced around the rest of the House perimeter — or in the Senate’s wing of the Capitol, the network reported.

The crackdown has been criticized on Twitter and other social media platforms.

“This outdated female dress code policy is even more bizarre because it’s enforced by the federal gov,” CNN politics reporter Miranda Green tweeted.

Another user, Danielle Swernofsky, tweeted: “Glad Congress is putting all their focus into what matters, policing dress code.”

However, some women have gotten away with flouting convention: Michelle Obama wore sleeveless dresses to several State of the Union addresses inside the House chamber. And Ivanka Trump attended her father’s speech in February wearing an off-the-shoulder dress, CBS noted.