A record number of tech firms are expected to publicly show support for the LGBT community this weekend at San Francisco's annual gay pride parade.
Google says more than 1,000 of its employees are slated to participate, Apple recently sent a memo encouraging all of its employees to partake in the event, and Facebook told CNBC that it expects over 800 employees to attend.
Former congressman Barney Frank, one of the parade's guests of honor, told CNBC that tech companies are smart to support the gay pride parade in today's competitive business environment. Frank said, "If you get a reputation for not being supportive of fair treatment, it is a handicap in your recruitment."
Jonathan Lovitz, the director of communications for StartOut, a non-profit supporting aspiring LGBT entrepreneurs, said participating in the parade is great "for retaining and finding the best talent; for finding the best partnerships domestically and globally; and also encouraging the people within their organizations to step up and become the first generation of openly gay CEOs in the tech industry."
Read MoreFacebook reveals diversity numbers