[wp-trac] [WordPress Trac] #60685: Keyboard focus order mismatch in adminbar in front-end

WordPress Trac noreply at wordpress.org
Sun May 12 07:31:41 UTC 2024


#60685: Keyboard focus order mismatch in adminbar in front-end
--------------------------+----------------------------
 Reporter:  joedolson     |       Owner:  joedolson
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.6
Component:  Toolbar       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by sabernhardt):

 Yeah, it is not so easy to search for `'parent' => 'top-secondary'` and
 then to find where that specific node is added with the `admin_bar_menu`
 action.

 - Jetpack uses `999` for its
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/13.4.1/modules/scan
 /class-admin-bar-notice.php#L55 Scan] and
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/13.4.1/jetpack_vendor/automattic
 /jetpack-connection/src/class-server-sandbox.php#L30 Server Sandbox]
 modules (Jetpack also uses `100` for
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/13.4.1/modules/stats.php#L939
 Stats], `120` for
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/13.4.1/modules/notes.php#L97
 Notifications] and `121` for
 [https://plugins.trac.wordpress.org/browser/jetpack/tags/13.4.1/jetpack_vendor/automattic
 /jetpack-identity-crisis/src/class-identity-crisis.php#L217 Identity
 Crisis])
 - Starter Templates uses `999` for its
 [https://plugins.trac.wordpress.org/browser/astra-sites/tags/4.2.2/inc/lib
 /zip-ai/classes/sidebar-configurations.php#L66 AI Assistant] (available
 upon activation)
 - Website Builder by SeedProd uses `999` for its
 [https://plugins.trac.wordpress.org/browser/coming-soon/tags/6.17.4/app
 /render-csp-mm.php#L80 Coming Soon page link] (need to activate Coming
 Soon Mode from Landing Pages)

 For some additional priorities:
 - EWWW Image Optimizer uses `99` for its
 [https://plugins.trac.wordpress.org/browser/ewww-image-
 optimizer/tags/7.6.0/common.php#L14891 'Detect Scaled Images' link] (with
 `ewww_image_optimizer_resize_detection` option)
 - Polylang
 [https://plugins.trac.wordpress.org/browser/polylang/tags/3.6.1/frontend
 /frontend-filters-search.php#L97 replaces the WordPress search] at the
 same priority of `4`:
   {{{
   remove_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 4 );
   add_action( 'admin_bar_menu', array( $this, 'admin_bar_search_menu' ), 4
 );
   }}}
 - BuddyPress uses `90` for its
 [https://plugins.trac.wordpress.org/browser/buddypress/tags/12.4.1/bp-
 members/bp-members-adminbar.php#L270 Notifications dropdown menu]
 - GiveWP uses `1000` for its
 [https://plugins.trac.wordpress.org/browser/give/tags/3.11.0/includes/admin
 /admin-actions.php#L612 Test Mode]

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


More information about the wp-trac mailing list