Transcription activator involved in oxidative stress response and redox homeostasis (By similarity). Regulates the transcription of genes encoding antioxidant enzymes and components of the cellular thiol-reducing pathways (By similarity). May be involved in antifungal resistance to voriconazole (PubMed:30126960). The nuclear localization is oxidative stress-dependent and oxidized yap1 is found predominantly in the nucleus, while reduced yap1 is continuously exported to the cytoplasm. Contains two cysteine rich domains (CRD), referred to as the N- and C-terminal CRD's, n-CRD and c-CRD, respectively. A nuclear export signal is embedded in the c-CRD, with which the nuclear export proteins interact only in the absence of disulfide bonds (or otherwise oxidized cysteines) within the c-CRD or between the c-CRD and the n-CRD. Depending on the oxidative stress inducing agent, yap1 can undergo two distinct conformational changes, both involving disulfide bond formation, and both masking the nuclear export signal, thus abolishing nuclear export. Belongs to the bZIP family. YAP subfamily.