[wp-trac] [WordPress Trac] #40470: WordPress installation steps - button press differences

WordPress Trac noreply at wordpress.org
Mon Apr 17 16:00:19 UTC 2017


#40470: WordPress installation steps - button press differences
-----------------------------+------------------------------
 Reporter:  xavortm          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  accessibility
-----------------------------+------------------------------

Comment (by afercia):

 That's because it's actually a link that looks like a button:
 `<a href="<?php echo esc_url( wp_login_url() ); ?>" class="button button-
 large"><?php _e( 'Log In' ); ?></a>`

 There are a lot of such links in the admin, also in the context of the
 installation process, e.g.:
 `<a href="<?php echo $install; ?>" class="button button-large"><?php _e(
 'Run the install' ); ?></a>`

 Links can be activated pressing Enter, while real buttons can be activated
 pressing either Enter or Spacebar, that's native behaviour in all
 browsers. Regardless, I share the concern about potential confusion
 resulting for the design, as basically the current styling makes controls
 that behave differently, look the same.

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


More information about the wp-trac mailing list