Make WordPress Core

Opened 2 months ago

Last modified 11 days ago

#46964 new defect (bug)

ID attribute value are used multiple times in "Custom Field" form

Reported by: jankimoradiya Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.0
Component: Editor Keywords: needs-patch dev-feedback has-screenshots
Focuses: ui, accessibility Cc:


I have found that, ID attribute value like "poststuff" and "postbox-container-2" are used in multiple times in form of custom filed HTML.

Ex. id="poststuff" and id="postbox-container-2".

I thought that, It will need to update for better coding standard & improve acessibility.

Any suggestions are more welcomes...!!!

Attachments (1)

Screenshot.png (497.7 KB) - added by jankimoradiya 2 months ago.

Download all attachments as: .zip

Change History (9)

#1 @SergeyBiryukov
2 months ago

  • Focuses performance removed

This ticket was mentioned in Slack in #accessibility by jankimoradiya. View the logs.

2 months ago

#3 @afercia
2 months ago

  • Component changed from Administration to Editor
  • Version changed from trunk to 5.0

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.

8 weeks ago

#5 @afercia
8 weeks ago

  • Milestone changed from Awaiting Review to 5.3

Discussed during today's accessibility bug scrub and agreed to try this for the next 5.3 release.

#6 @desrosj
5 weeks ago

  • Focuses coding-standards removed

#7 @afercia
5 weeks ago

For reference for future contributors and history: WordPress does have HTML Coding Standards 😉


#8 @afercia
11 days ago

Seems to me this is related to what the_block_editor_meta_boxes() does. It loops through the meta boxes locations and then renders always the same IDs. I'm not sure these IDs are really necessary to start with, maybe they could be removed?

Note: See TracTickets for help on using tickets.