[wp-trac] [WordPress Trac] #47018: No error message provided upon incomplete input in Tags Administration Screen

WordPress Trac noreply at wordpress.org
Tue Apr 5 13:22:52 UTC 2022


#47018: No error message provided upon incomplete input in Tags Administration
Screen
-------------------------------------+-------------------------------------
 Reporter:  conner_bw                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.0
Component:  Taxonomy                 |     Version:  5.1.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots input-   |     Focuses:  ui, accessibility,
  validation has-patch needs-        |  javascript, administration
  refresh                            |
-------------------------------------+-------------------------------------
Changes (by afercia):

 * keywords:  has-screenshots input-validation has-patch needs-testing
     needs-refresh => has-screenshots input-validation has-patch needs-
     refresh


Comment:

 @peterwilsoncc thanks for reviewing.

 The changes to `wp-ajax-response.js` are mostly 'cosmetic' changes about
 legacy CSS class names, indentation, and coding standards. The only
 functional changes are the new calls to `wp.a11y.speak()` which shouldn't
 break anything.

 However, besides the slight delay between the field getting a red border
 and the error message displaying, I see there's one more problem. The
 input field will now get a red border for ''any'' error response, which is
 not correct. It should only happen for the error with code
 `empty_term_name`. I'd agree this needs some more work.

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


More information about the wp-trac mailing list