[wp-trac] [WordPress Trac] #55575: Duplicate HTML id attribute in Quick/Bulk Edit

WordPress Trac noreply at wordpress.org
Fri Apr 29 15:37:32 UTC 2022


#55575: Duplicate HTML id attribute in Quick/Bulk Edit
-----------------------------+----------------------------
 Reporter:  GregLone         |       Owner:  joedolson
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  6.0
Component:  Quick/Bulk Edit  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  accessibility
-----------------------------+----------------------------

Comment (by sabernhardt):

 If we can rely on always retaining the original (hidden) quick edit
 elements, the `id` could be removed from the script-added quick edit rows.
 Then the `aria-labelledby` and `aria-describedby` would refer to a hidden
 element.

 There is still at least one flaw with the patch: I don't know why the bulk
 edit row prints `quick-edit-[post_tag]-desc` for the taxonomy field
 descriptions when I used the same condition as in the `legend`.

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


More information about the wp-trac mailing list