The non-free HTML-to-PDf converter prince has extensive support for various PDF standards as well as tagging. E.g.:
prince
pandoc --pdf-engine=prince \ --pdf-engine-opt=--tagged-pdf ...
See the prince documentation for more info.