[wp-trac] [WordPress Trac] #37527: Customizer: Links within text should be underlined

WordPress Trac noreply at wordpress.org
Tue Aug 2 07:28:07 UTC 2016


#37527: Customizer: Links within text should be underlined
-----------------------------------------+--------------------------------
 Reporter:  afercia                      |       Owner:
     Type:  defect (bug)                 |      Status:  reviewing
 Priority:  normal                       |   Milestone:  Future Release
Component:  Customize                    |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  ui, accessibility
-----------------------------------------+--------------------------------

Comment (by afercia):

 Replying to [comment:7 celloexpressions]:
 > We should avoid making any `<button>`s that look like links look more
 like links
 I agree, and I'm not entirely convinced they should look like links at
 all.

 > Instead, I think we need to come up with a standardized ternary button
 style to be used for thinks like the widget close and remove links.
 I kindly disagree. Until they're `<a>` elements, they should look like
 links. If agreed they behave more like buttons then it would be more
 appropriate to mark them up as `<button>` elements, this also applies to
 other places in the Customizer where UI controls still use a not ideal
 markup and in some cases still use things like `<span>` elements.

 However, this ticket is mainly about links within lines or block of text,
 no one wants to change the "Reorder" button :) Let's stick to the original
 scope of the ticket :)

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


More information about the wp-trac mailing list