[wp-trac] [WordPress Trac] #47125: Admin: clarify the "Add New" links for better accessibility

WordPress Trac noreply at wordpress.org
Mon Oct 16 17:13:16 UTC 2023


#47125: Admin: clarify the "Add New" links for better accessibility
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.4
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-dev-note commit        |  administration
-------------------------------------+-------------------------------------

Comment (by swissspidy):

 @webcommsat Yes this can go in a Miscellaneous dev note as it does not
 need a dedicated one. No need for a special mention in the plugins email,
 as those emails just link to the field guide anyway.


 A paragraph like this should work:


 {{{
 In WordPress 6.4, the default values for the `add_new` label changed to
 include the type of content. This matches `add_new_item` and provides more
 context for better accessibility.
 The default value is 'Add New Type' for both hierarchical and non-
 hierarchical types.
 If you've previously used a label such as `'add_new' => _x( 'Add New',
 'Book', 'my-plugin' )`, you are encouraged to change it to `'add_new' =>
 __( 'Add New Book', 'my-plugin' )`.
 }}}

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


More information about the wp-trac mailing list