[wp-trac] [WordPress Trac] #55664: WP post embed: missing labels and duplicate IDs

WordPress Trac noreply at wordpress.org
Tue May 3 14:01:42 UTC 2022


#55664: WP post embed: missing labels and duplicate IDs
---------------------------------------+------------------------------
 Reporter:  afercia                    |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Embeds                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  accessibility
---------------------------------------+------------------------------
Changes (by afercia):

 * keywords:  has-screenshots needs-patch => has-screenshots has-patch


Comment:

 [attachment:"55664.diff"] is a first pass:
 - Uses `uniqid()` for the IDs. Open to better ways to generate unique IDs.
 - Adds `aria-label` attributes to label the input field and the textarea.

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


More information about the wp-trac mailing list