[wp-trac] [WordPress Trac] #40428: Introduce best practices to hide CSS generated content from assistive technologies

WordPress Trac noreply at wordpress.org
Tue Apr 15 15:46:12 UTC 2025


#40428: Introduce best practices to hide CSS generated content from assistive
technologies
----------------------------+--------------------------------
 Reporter:  afercia         |       Owner:  joedolson
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  6.9
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  a11y-task       |     Focuses:  ui, accessibility
----------------------------+--------------------------------
Changes (by joedolson):

 * owner:  trishasalas => joedolson
 * status:  assigned => accepted
 * milestone:  Future Release => 6.9


Comment:

 What this primarily needs at this point is a scrub of core to identify
 whether there are still uses of `::before` and `::after` pseudo elements
 that aren't marked with `aria-hidden`. Actually establishing a standard
 practice is something that, in my opinion, is already done; we have a
 fairly standard operating practice in newer code of using `aria-hidden` to
 ensure that hidden things are actually hidden.

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


More information about the wp-trac mailing list