[wp-trac] [WordPress Trac] #35960: Remove excess padding from .nav-tab-wrapper

WordPress Trac noreply at wordpress.org
Thu Mar 24 08:29:17 UTC 2016


#35960: Remove excess padding from .nav-tab-wrapper
---------------------------------------+---------------------------------
 Reporter:  ericdaams                  |       Owner:  ocean90
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  4.5
Component:  Administration             |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, administration
---------------------------------------+---------------------------------

Comment (by afercia):

 @ericdaams personally, I'd consider to add a h1 heading before the nav
 tabs :) ideally, the nav tabs should be just links in a list, like a
 navigation menu. Maybe with a h2 before (can also be visually hidden),
 something like:

 {{{
 <h1>My beautiful plugin settings</h1>
 <h2 class="screen-reader-text">Settings sections</h2>
 <ul>links list</ul>
 }}}

 But this would require some custom CSS. As said, we're considering to
 propose to change this UI component, we should also consider ARIA roles
 and (maybe) HTML5 semantic elements. Hopefully, we'll come up with a
 proposal in the next months :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35960#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list