A bill meant to nudge companies to bring more women into their mostly male boardrooms got left out of a planned legislative package in the House.

The bill from Rep. Carolyn Maloney (D-N.Y.) aims to highlight the lack of women on boards by requiring publicly traded companies to disclose the gender of their directors. It was slated to be considered July 11 by the House Financial Services Committee as Chairman Jeb Hensarling (R-Texas) puts together a package of business-focused bills to bring to the House floor this summer.

“The bill that I championed, along with many members of this committee,...