The Securities and Exchange Commission is considering recommending a rule requiring companies to disclose more about diversity on their boards.