Hi,
It should be fine.
Just tried WordPress 4.3beta4 and although APF still uses h2
for the screen title element, I could not find any noticeable difference from using h1
.
If you need to change the heading title element tag, you can do something like this in the setUp()
method.
$this->setPageHeadingTabTag( 'h1' );
However, you want to keep in mind that APF automatically creates a navigation bar for added pages and each tabbed page title uses the set tag, h2
by default. Only one h1
tag element is supposed to exist in a page. So when you set h1
, you want to make sure that no navigation bar is created.
For in-page tabs, you can use the setInPageTabTag()
method.
$this->setInPageTabTag( 'h1' );