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

WordPress Trac noreply at wordpress.org
Fri Aug 25 09:47:01 UTC 2023


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

Comment (by afercia):

 Just noting that if this proposed change gets approved we could consider
 to not use the `_x()` translation function any longer. Specifying the
 context would be pointless as the new strings are already in context. For
 example:

 `_x( 'Add New Link', 'link' )`

 The provided context 'link' is not necessary, as the string is already
 clear enough.

 `__( 'Add New Link' )`

 would be simpler and cleaner.

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


More information about the wp-trac mailing list