[wp-trac] [WordPress Trac] #35457: Theme installer upload button improvements

WordPress Trac noreply at wordpress.org
Thu Jan 14 14:52:40 UTC 2016


#35457: Theme installer upload button improvements
-------------------------------------------+-----------------
 Reporter:  afercia                        |      Owner:
     Type:  defect (bug)                   |     Status:  new
 Priority:  normal                         |  Milestone:
Component:  Themes                         |    Version:
 Severity:  normal                         |   Keywords:
  Focuses:  ui, accessibility, javascript  |
-------------------------------------------+-----------------
 See related #35429.

 The "Upload Theme/Browse" button is built with two links with `href="#"`
 attributes but since it doesn't point to any resource and just "does
 something" it should be marked up as a button element.

 Also, should use an `aria-expanded` attribute to be dynamically updated to
 give feedback about the status of the expandable uploader panel.

 Worth noting that, when using a keyboard, activating the button causes a
 focus loss since the button is the currently focused element and then gets
 hidden to reveal the other button. This should definitely be avoided
 because keyboard users will be forced to start navigating again from the
 root of the document (especially noticeable using Chrome).

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


More information about the wp-trac mailing list