[wp-trac] [WordPress Trac] #47125: Admin: clarify the "Add New" links for better accessibility
WordPress Trac
noreply at wordpress.org
Mon Aug 28 09:55:41 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-refresh needs-design- | administration
feedback |
-------------------------------------+-------------------------------------
Changes (by afercia):
* keywords: has-screenshots has-patch needs-testing => has-screenshots
has-patch needs-refresh needs-design-feedback
Comment:
Thanks for updating the patch. While testing, I noticed there are still
around 30 occurrences of 'Add New' in the codebase that would need to be
checked. A few of them are in comments or help text but they should be
updated as well.
Also, making the search case sensitive I found a couple places where the
letter 'n' of the word 'new' is lowercase:
```
__( 'Add new Pattern' )
_e( 'Add new Comment' )
```
This is inconsistent with the well established pattern in WordPress, where
all similar strings use title case for the word 'New', for example:
```
__( 'Add New Template' )
```
Adding a screenshot to illustrate some examples of what the current patch
does.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47125#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list