[wp-trac] [WordPress Trac] #46964: ID attribute value are used multiple times in "Custom Field" form

WordPress Trac noreply at wordpress.org
Tue Mar 3 14:37:26 UTC 2020


#46964: ID attribute value are used multiple times in "Custom Field" form
-----------------------------------------+--------------------------------
 Reporter:  jankimoradiya                |       Owner:  johnbillion
     Type:  defect (bug)                 |      Status:  accepted
 Priority:  high                         |   Milestone:  Future Release
Component:  Editor                       |     Version:  5.0
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  ui, accessibility
-----------------------------------------+--------------------------------

Comment (by SergeyBiryukov):

 To summarize a bit for future reconsideration:

 * `#poststuff` and `#postbox-container-*` were always designed to have a
 single instance on the page. It's just that the block editor is
 incorrectly using them as a wrapper for individual meta box groups instead
 of the whole meta box area. Changing these to classes is neither feasible
 due to back compat issues and technical debt (plugins would have to
 support both the IDs and classes for a while), nor it is necessary to fix
 this particular issue.
 * Since it's a block editor issue, it should be fixed there, by allowing
 for the IDs to be moved out of the loop, as suggested in comment:30.

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


More information about the wp-trac mailing list