Let $$F: (X,A,*)\times [0,1]\to (X,A,*)$$ be a homotopy such that $F_0$ is the identity and $F_1$ maps $A$ to the point $*$. Does it imply that $X$ is homotopy equivalent to $X/A$? If it helps, we may assume that all spaces are $CW$ complexes or simplicial sets.
I tried to analyze the maps $\tilde{F_1}: X/A\to X$ induced by $F_1: (X,A)\to (X,*)$ and possible homotopy inverse $q: X\to X/A$ but am not able to prove that they induce homotopy equivalence.