4.3 Change to Plugin Dashboard Pages

Per #31650, there’s been a change to the way headers are processed.

Previously we used H2 in order to create the header at the top of our pages like this:

<div class="wrap">
    <h2><?php _e("My Cool Plugin", 'my-plugin'); ?></h2>

    <p>All my cool dashboard things</p>

This was done because, prior to the Toolbar, WordPress put in an H1 header itself. With the change to the Toolbar quite a while ago, that was removed and it created a new problem for accessibility. In order to fix that issue the H2s were changed to H1s in core.

This will not break your plugins.

There is no visual difference, the styles stayed the same. Only the underlying markup has been changed.

If you want to fix your plugins, just change that H2 to H1 and call it a day. Screenreaders will thank you.