IEPs can mandate a foreign language exemption and/or the IEP can require a pass/fail in place of a letter grade. I have seen proposals for sign and computer languages in place of a foreign language.

Foreign languages were a disaster for me in high school. I squeaked by with Latin. DS recently received a foreign (really 3rd) language exemption from his dual curriculum high school, but that took a year and a half. Then one of my twins tried for a foreign language exemption at his IEP meeting last week, but was not successful. A lot depends on the IEP team and the DC.