How can I add text to both the top and bottom of a path?  My commutative diagram below is 90% complete.  I would, however, like text={${gKer({\varphi}){\mapsto}{\varphi(G)}}$} following the path below the arrow and \cong following the path above the same arrow.



\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.text}
\usetikzlibrary{decorations.pathmorphing}

\begin{document}

\begin{tikzpicture}

\node (A) {$G$};
\node (B) [right of=A] {$G'$};
\node (C) [below of=A] {$G/Ker(\varphi)$};

\draw[-&gt;&gt;] (A) --(B) node[above,midway] {$\varphi$};
\draw[-&gt;,postaction={decorate,decoration={text along path,text align=center,text={${\pi}{\;}$}}}] (A) to node[swap] {} (C);
\draw[-&gt;,postaction={decorate,decoration={text along path,text align = center,text={${gKer({\varphi}){\mapsto}{\varphi(G)}}$}}}] (C) to node[swap] {} (B);

\end{tikzpicture}

\end{document}



Question: What's the point in adding alt-text to an image?
Answer: The alt (alternative) attribute is used when the image fails to load, or for user agents that can't display images (screen readers, very old mobile browsers, etc.) 

According to the HTML5 specifications,


  The most general rule to consider when writing alternative text is the following: the intent is that replacing every image with the text of its alt attribute not change the meaning of the page.


This means that the "image description" hint is actually not very accurate. If the image is not important (in the sense that describing it will not help readers), is purely decorative, or if its content is already described by the surrounding text, then the attribute should actually be left blank. 

Whatever you do, do not leave the placeholder text in, since that is worse than leaving it blank. 



If you need a tooltip, you can use the title attribute. In Markdown, use 

![alt text][1] 

 [1]: http://example.com/image "Your Title Here" 


or 

![alt text](http://example.com/image "Your Title Here")


For example, 



the same format is used for titles on links, like this.