Does Alt Hold require a compass?

In no case is the compass required for Alt-Hold. (EKF or DCM). However, the compass and GPS are still used in these modes if they are connected. The compass would be used to remove yaw axis gyro drift. And the GPS is used to compensate acceleration forces affecting the stabilization estimates. This effect is really only seen if flying quite aggressively.