WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/18/2015 11:50:13 PM (4 years ago)
Author:
afercia
Message:

Accessibility: Improvements for the Authentication Check modal dialog "Close X".

Removes the title attribute and uses a <button> element instead of a <div>.
Also simplifies the CSS and takes care of the hover/focus style.

Fixes #35142.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r35925 r36014  
    49354935    <div id="wp-auth-check-bg"></div>
    49364936    <div id="wp-auth-check">
    4937     <div class="wp-auth-check-close" tabindex="0" title="<?php esc_attr_e('Close'); ?>"></div>
     4937    <button type="button" class="wp-auth-check-close button-link"><span class="screen-reader-text"><?php _e( 'Close dialog' ); ?></span></button>
    49384938    <?php
    49394939
Note: See TracChangeset for help on using the changeset viewer.