[wp-trac] [WordPress Trac] #36925: Media views: introduce a "Heading" view for better accessibility

WordPress Trac noreply at wordpress.org
Wed Mar 13 20:30:51 UTC 2019


#36925: Media views: introduce a "Heading" view for better accessibility
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  adamsilverstein
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.2
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots media-   |     Focuses:  ui, accessibility,
  a11y has-patch needs-refresh       |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 @adamsilverstein thanks for looking again into this :) Actually we don't
 need to change the existing headings. We need to add more of them.
 Headings are used by screen reader users to navigate through content.
 Adding more heading would greatly help them to use the media modal. So
 we'd need a reusable heading view that:
 - can be placed anywhere in the media stuff UI
 - can be passed a param or something to change the heading level h2, h3,
 h4, etc.
 - optionally, can have a `screen-reader-text` class to be visually hidden

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


More information about the wp-trac mailing list