Let $f:X\rightarrow Y$ be a morphism of algebraic schemes (over an algebraically closed field with char 0). If $f$ is proper and the fibres are connected, then $X$ is connected whenever $Y$ is (see https://stacks.math.columbia.edu/tag/0377). Is the same result true if we replace "connected" by irreducible? The proof cannot be adapted to the irreducible case, I think.
Note that I do not assume that all the fibres have the same dimension.