Do portable ladders have to be ANSI approved?

Yes and no.  OSHA regulations do not require ANSI approval, however, ladders manufactured in compliance with ANSI A14 are considered to be in compliance with OSHA regulations.  If a ladder is ANSI-approved, it is in compliance with OSHA design requirements.