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

WordPress Trac noreply at wordpress.org
Fri Aug 23 14:39:00 UTC 2019


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

Comment (by donmhico):

 Thanks for the feedback @afercia. If that's the case how do you think we
 should address this? IMHO CSS IDs should be unique in the page as having
 multiple ones may lead to unexpected errors. We can inform the Gutenberg
 team regarding this. Maybe ask what specific context of `#poststuff` are
 they targeting then we can leave that context intact and prevent other
 instances of `#poststuff` to be created. For the other plugins, at best we
 can inform them regarding this change.

 Any other approach is welcome.

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


More information about the wp-trac mailing list