[wp-trac] [WordPress Trac] #63980: Set featured image button incorrectly coded as link and missing required ARIA attributes

WordPress Trac noreply at wordpress.org
Tue Feb 10 19:58:08 UTC 2026


#63980: Set featured image button incorrectly coded as link and missing required
ARIA attributes
-------------------------------------------------+-------------------------
 Reporter:  alh0319                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  7.0
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-test-info needs-       |     Focuses:  ui,
  testing                                        |  accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * keywords:  has-patch => has-patch has-test-info needs-testing


Comment:

 Testing instructions:

 1) Install the classic editor plugin.
 2) Navigate to the 'Set Featured Image' metabox.
 3) Select the control using the keyboard. (Tab key)

 Before patch:
 - The link will only trigger on Enter, not on space.
 - Screen readers report the control as a link, with no additional
 information.

 After patch:
 - The link will trigger on either Enter or using the spacebar.
 - If using the spacebar, you can depress the spacebar, hit tab, and
 release the spacebar and the control will not be triggered.
 - The link will be reported to screen readers as a button that has a popup
 of type "dialog".

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


More information about the wp-trac mailing list