[wp-trac] [WordPress Trac] #52151: Post / Page Title Columns broken

WordPress Trac noreply at wordpress.org
Mon Feb 17 19:29:32 UTC 2025


#52151: Post / Page Title Columns broken
----------------------------+-----------------------
 Reporter:  pascoedj        |       Owner:  audrasjb
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  6.8
Component:  Administration  |     Version:  5.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  css
----------------------------+-----------------------

Comment (by joedolson):

 In order to make an accessible side-scrolling container, we'll need to 1)
 add `tabindex="0"` to the wrapper, so that it can accept keyboard focus
 and be scrolled from the keyboard; 2) add `role="region"` and `aria-
 label="[context label]"`, so that when screen reader users reach the
 table, they are given context about what they've navigated to.

 The aria-label can probably use the existing screen reader text placed in
 the hidden heading above the table, but can't be a substitute for it; they
 serve different purposes.

 It can be helpful for usability to provide a visual cue that the table
 requires horizontal scrolling; something like
 [https://codepen.io/huijing/details/XBGaNQ horizontally scrolling shadows]
 can be helpful.

 Overall, the reality of tables is that sometimes scrolling is necessary,
 and we should adapt for it as best we can. It is pretty crucially
 important that the title is always readable.

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


More information about the wp-trac mailing list