In a test of shifting attitudes about HIV, a group of state lawmakers has proposed that it no longer be a felony for someone to knowingly expose others to the disease by engaging in unprotected sex and not telling the partner about the infection.

The measure by state Sen. Scott Wiener (D-San Francisco) and others would make such acts a misdemeanor, a proposal that has sparked opposition from Republican lawmakers.