I don’t think acting get a vote on this.
The 25th Amendment refers to “the principal officers of the executive departments.” It is my understanding that every department in the executive branch has an internal line of succession to ensure that there is ALWAYS someone who fits this title.