Skip to content

Commit

Permalink
Use nav element for main tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 9, 2024
1 parent bfed780 commit 2935d1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wp-to-twitter-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ function wpt_update_settings() {

<?php wpt_max_length(); ?>

<div class='nav-tab-wrapper'>
<nav class='nav-tab-wrapper' aria-labelledby="wpt-nav">
<h2 id="wpt-nav" class="screen-reader-text"><?php _e( 'XPoster Settings', 'wp-to-twitter' ); ?></h2>
<?php wpt_settings_tabs(); ?>
</div>
</nav>
<div id="wpt_settings_page" class="postbox-container jcd-wide">
<div class="metabox-holder">

Expand Down

0 comments on commit 2935d1a

Please sign in to comment.