[wp-trac] [WordPress Trac] #46964: ID attribute value are used multiple times in "Custom Field" form
WordPress Trac
noreply at wordpress.org
Tue Aug 27 11:05:10 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 afercia):
After some software archeology, looks like there was an attempt to fix
this issue in Gutenberg, see:
https://github.com/WordPress/gutenberg/pull/4697
that change was then reverted (February 2018)
https://github.com/WordPress/gutenberg/pull/4971
Still, there's the need to come up with the best option to use unique IDs.
`the_block_editor_meta_boxes()` prints out a form for three locations:
'side', 'normal', 'advanced'. Not sure about the internal logic for meta
boxes backwards compatibility but seems to me only the first `#poststuff`
is visible, while the other two ones are always hidden within a
`#metaboxes` div and maybe don't need IDs? /Cc @youknowriad any feedback
would be greatly appreciated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46964#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list