[wp-trac] [WordPress Trac] #34242: Buttons styles: audit the button-reset and button-link styles

WordPress Trac noreply at wordpress.org
Fri Oct 16 14:55:31 UTC 2015


#34242: Buttons styles: audit the button-reset and button-link styles
----------------------------+------------------------------
 Reporter:  afercia         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui
----------------------------+------------------------------

Comment (by helen):

 Did some "market research" on some fairly popular UI/front-end frameworks,
 `.*-link` was the only naming convention I saw in the frameworks that
 included a text-looking button. I think it's reasonable to just have that
 one class do both the reset and the basic styling. It would make more
 sense to me as a dev to "reset" a button to look like a link (because
 that's the element I would probably be using otherwise) and then do any
 further styling I might need on top of that, just as I would do for a
 link.

 Let's not add this as shorthand in `get_submit_button()`.

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


More information about the wp-trac mailing list