[wp-trac] [WordPress Trac] #52408: Bug in keyboard navigation (tags metabox in post edit)

WordPress Trac noreply at wordpress.org
Sun Feb 7 04:23:15 UTC 2021


#52408: Bug in keyboard navigation (tags metabox in post edit)
-------------------------+-------------------------------------------------
 Reporter:  jose64       |       Owner:  sabernhardt
     Type:  defect       |      Status:  assigned
  (bug)                  |
 Priority:  normal       |   Milestone:  5.7
Component:  Taxonomy     |     Version:  5.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui, accessibility, javascript,
  needs-testing          |  css, administration
-------------------------+-------------------------------------------------
Changes (by sabernhardt):

 * status:  new => assigned
 * focuses:  ui, accessibility, administration => ui, accessibility,
     javascript, css, administration
 * component:  Options, Meta APIs => Taxonomy
 * owner:  (none) => sabernhardt
 * milestone:  Awaiting Review => 5.7
 * keywords:  needs-patch => has-patch needs-testing


Comment:

 In WordPress 5.5, the tag list options had a negative `tabindex` and the
 focused option had a `ui-state-focus` class that no longer applies. In 5.6
 and 5.7 beta, the focused item continues to have `aria-selected="true"`,
 though.

 [attachment:"52408.patch"] simply applies the same `ui-state-focus` styles
 to the `aria-selected` attribute so the selection is indicated visually.

 The Block editor's tag autocomplete is different, and I did not have any
 trouble there.

 To test the patch, please check both the Classic editor post tags the
 Quick Edit tag selection (steps are in comment:6 and comment:7).

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


More information about the wp-trac mailing list