[Tex/LaTex] No autoref name for `Appendix’

hyperrefwarnings

I get the following warning in LaTeX while trying to automatically refer via \autoref{} to a label in my appendix.

No autoref name for `Appendix'

I guess it is trying to tell me that it has no label defined for appendix, funny because it directly displays me the name I’d like to have which it doesn’t output; it’s simply blank.

Minimal Example

\documentclass{article}
\usepackage{appendix}
\usepackage{hyperref}

\begin{document}
  \autoref{a:entry}

  \begin{appendices}
    \section{Entry}
    \label{a:entry}
  \end{appendices}
\end{document}

Best Answer

The command for the label with uppercase letter is not defined and that’s why the hyperref package is complaining. You have to define the command yourself:

\newcommand*{\Appendixautorefname}{Appendix}

Include this after loading the hyperref package and before beginning the actual document and it should work just fine.