Whilst not the whole answer, particularly given the ‘semantic’ aspect of the question, and @sama74’s queries above, but this thread from a day or two back, may guide you on how to achieve the ‘re-usable’ requirement, as well as making things easier to update. It just needs adapting to the header, rather than a menu, or maybe it would help for both.