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

WordPress Trac noreply at wordpress.org
Tue Jan 21 16:35:58 UTC 2025


#61959: Enhance Support for `popovertarget` and `popover` Attributes in Native
Browser Popover API
-------------------------------------+-------------------------------------
 Reporter:  harshdeepgill            |       Owner:  tirth03
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  General                  |     Version:  6.6.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch reporter-      |     Focuses:  ui, accessibility,
  feedback                           |  javascript, css
-------------------------------------+-------------------------------------

Comment (by harshdeepgill):

 Hi @joedolson , thanks for reviewing this ticket.

 As far as I can see Popovers were created with accessibility in mind, with
 a few accessibility features included out-of-box:

 * Any element can become a popover, which carries over element semantics
 to the #top-layer as well.
 * When popover elements are open, they become the next focusable element
 in the tabindex.
 * Users can close popovers by pressing the Esc key on the keyboard, as
 well as clicking outside the popover to dismiss.

 Please let me know if I am missing something.

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


More information about the wp-trac mailing list