[wp-trac] [WordPress Trac] #34273: #a11y-headings - the Media Views headings

WordPress Trac noreply at wordpress.org
Mon Oct 12 22:42:39 UTC 2015


#34273: #a11y-headings - the Media Views headings
-------------------------------+-----------------
 Reporter:  afercia            |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  4.4
Component:  Media              |    Version:  4.3
 Severity:  normal             |   Keywords:
  Focuses:  ui, accessibility  |
-------------------------------+-----------------
 Basically all the headings in the media grid and the media modal should be
 adjusted to the new headings hierarchy. For example, inspecting the Media
 Library > grid mode screen with the Firefox Web Developer toolbar, here's
 the headings printed out in the markup:

 [[Image(https://cldup.com/2x5ya_yelU.png)]]

 The empty H1 and the "Uploading" H3 are actually hidden with `display:
 none` and not used in this screen (they're used in the Media modal).
 Ideally, they shouldn't be printed out at all if not used, but probably we
 can live with having them hidden.

 By the way probably all the H3 should be bumped up to a H2, both in the
 grid and in the media modal. For example, here's the "Uploading" heading
 displayed in the media modal sidebar:

 [[Image(https://cldup.com/sbJofHhO0c.png)]]

 I don't see any reason why it should be a H3 thus skipping a heading
 level.

 Notes:
 - the "Drop files anywhere to upload" in the first screenshot gets
 displayed after the "Add New" button is pressed.
 - the "Drop files to upload" is displayed in the "drop zone" overlay when
 dragging media inside the browser's window, not sure it should be a
 heading in the first place.

 #a11y-headings

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34273>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list