[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid

WordPress Trac noreply at wordpress.org
Fri May 7 23:17:48 UTC 2021


#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.8
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-           |     Focuses:  ui, accessibility,
  screenshots needs-testing early    |  javascript
  commit                             |
-------------------------------------+-------------------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"50829" 50829]:
 {{{
 #!CommitTicketReference repository="" revision="50829"
 Media: Remove infinite scroll from media library and modal.

 Replace infinitely autoloading behavior on scroll with a user-controlled
 load more button. Fix a long standing accessibility issue in the media
 library. Infinite scroll poses a wide range of problems for accessibility,
 usability, and performance.

 This change modifies the library to load 40 items in the initial view,
 with a load more button to load the next 40 items and a button to move
 focus from the load more region to the first of the most recently added
 items.

 The text for communicating the jump target was broadly discussed, agreeing
 that the text incorporated here would most concisely and clearly convey
 the purpose of the button, and any further detail is learnable from use.

 Props afercia, adamsilverstein, joedolson, audrasjb, francina
 Fixes #50105. See #40330.
 }}}

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


More information about the wp-trac mailing list