[wp-trac] [WordPress Trac] #60488: Plugins dependencies notice alters visual and DOM order in the plugin cards

WordPress Trac noreply at wordpress.org
Wed Feb 21 17:32:57 UTC 2024


#60488: Plugins dependencies notice alters visual and DOM order in the plugin cards
----------------------------------------------+----------------------------
 Reporter:  afercia                           |       Owner:  costdev
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.5
Component:  Plugins                           |     Version:  trunk
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit  |     Focuses:  ui,
                                              |  accessibility
----------------------------------------------+----------------------------
Changes (by costdev):

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


Comment:

 In [changeset:"57679" 57679]:
 {{{
 #!CommitTicketReference repository="" revision="57679"
 Plugins: Output plugin card elements in the order they're displayed.

 Previously, the notice for listing dependencies in a plugin card was
 styled with the CSS `order` properties. This created a mismatch between
 the visual order and DOM order of elements in the plugin card.

 For accessibility, visual order and DOM order must always match when they
 affect meaning and functionality.

 This removes the CSS `order` properties and outputs the dependencies
 notice later, making the visual and DOM order match. Some unused/empty CSS
 is also removed.

 Follow-up to [57545].

 Props afercia, afragen, bosskhj, huzaifaalmesbah, mukesh27, costdev.
 Fixes #60488.
 }}}

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


More information about the wp-trac mailing list