[wp-trac] [WordPress Trac] #43398: Avoid using visual tabs when it's irrelevant: menu screen, about.php and in edit-site screen (multisite)

WordPress Trac noreply at wordpress.org
Fri Mar 15 14:53:24 UTC 2019


#43398: Avoid using visual tabs when it's irrelevant: menu screen, about.php and in
edit-site screen (multisite)
-------------------------------------+-------------------------------------
 Reporter:  audrasjb                 |       Owner:  afercia
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  5.2
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-dev-note               |  multisite
-------------------------------------+-------------------------------------
Changes (by afercia):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44905" 44905]:
 {{{
 #!CommitTicketReference repository="" revision="44905"
 Accessibility: Improve the semantics of "tabs" that are not real ARIA
 tabs.

 Some "visual tabs" in the WordPress admin used links wrapped in a `h2`
 heading. While these tabs look like ARIA tabs, they're just navigation
 menus and should be marked-up as such to be correctly exposed to assistive
 technologies.
 - changes the wrapping `<h2>` to a `<nav>` element: worth reminding
 `<nav>` elements also define ARIA landmarks
 - adds an `aria-label` to the `<nav>` elements so they can be
 distinguished from other `<nav>` elements in the page
 - adjusts the headings level in the Credits page

 Props audrasjb, afercia.
 Fixes #43398.
 }}}

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


More information about the wp-trac mailing list