Logic for TagType Values

Setting the possible value to specific heading level (H2, H3, H4, H5, H6) explicitly assigns that level as the heading tag for the content where the attribute is authored.
Note: If authoring heading tags explicitly, be sure to run the accessibility checker to check for any inconsistencies in heading tags as manual assignment of explicit tags could result in out of sequence tags or skipping of tags and may cause confusion for unsighted readers when navigating the heading tag structure using assistive technologies.

Setting the TagType attribute value to Auto calculates the heading level and assigns the heading tag for the content where the attribute is authored. The level computation includes Section elements and is calculated as one level greater than a Section element for nested child elements authored with the TagType attribute set to Auto (Section elements are counted regardless if Section>Title element is present).

If both explicit and Auto TagType values are authored in the same document, the explicit TagType value is honored to create the heading tag and the specific explicit value is excluded from Auto calculations; however, if the preceding elements of these explicit elements is a Section or thead of a table, those elements are included in the level computation for Auto.

Table elements TagType=Auto with presence of Table element Logic: