Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/24/2016 06:42:49 PM (3 years ago)
Author:
mercime
Message:

Accessibility: Use <button> elements in Profile visibility settings.

Replace empty links <a href="#"> with semantic <button> elements for
semantics and accessibility.

Fixes #7358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/register.php

    r11173 r11246  
    190190                                    );
    191191                                    ?>
    192                                     <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
     192                                    <button type="button" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></button>
    193193                                </p>
    194194
     
    200200
    201201                                    </fieldset>
    202                                     <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
     202                                    <button type="button" class="field-visibility-settings-close"><?php _e( 'Close', 'buddypress' ) ?></button>
    203203
    204204                                </div>
Note: See TracChangeset for help on using the changeset viewer.