[wp-trac] [WordPress Trac] #61959: Enhance Support for `popovertarget` and `popover` Attributes in Native Browser Popover API

WordPress Trac noreply at wordpress.org
Tue Sep 30 23:06:18 UTC 2025


#61959: Enhance Support for `popovertarget` and `popover` Attributes in Native
Browser Popover API
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  joedolson
  harshdeepgill          |
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.9
Component:  General      |     Version:  6.6.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  ui, accessibility, javascript, css
  commit                 |
-------------------------+-------------------------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60884" 60884]:
 {{{
 #!CommitTicketReference repository="" revision="60884"
 Editor: Allow popover attributes in editor content.

 Add attributes to KSES so that it's possible to create popover
 interactions natively in the editor. Adds `popovertarget`,
 `popovertargetaction` and `aria-haspopup` to `button`; `popover` to `div`,
 `ul`, and adds `dialog` with the attributes `open`, `closedby`, and
 `popover`.

 Props harshdeepgill, jonsurrell, joedolson, sukhendu2002, flixos90,
 joedolson.
 Fixes #61959.
 }}}

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


More information about the wp-trac mailing list