Update the HTML framework to support the PDTS stage and add matching markup in the TS.