Skip to:
Content

BuddyPress.org

Changeset 10361


Ignore:
Timestamp:
11/16/2015 08:04:35 PM (5 years ago)
Author:
mercime
Message:

A11y: Adjust heading structure in Profile Fields > Add New Field
and Edit Field.

Fixes #6701. See #6581.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php

    r10357 r10361  
    12211221
    12221222        <div id="submitdiv" class="postbox">
    1223             <h3><?php esc_html_e( 'Submit', 'buddypress' ); ?></h3>
     1223            <h2><?php esc_html_e( 'Submit', 'buddypress' ); ?></h2>
    12241224            <div class="inside">
    12251225                <div id="submitcomment" class="submitbox">
     
    12871287
    12881288        <div class="postbox">
    1289             <h3><?php echo esc_html_x( 'Description', 'XProfile admin edit field', 'buddypress' ); ?></h3>
     1289            <h2><?php echo esc_html_x( 'Description', 'XProfile admin edit field', 'buddypress' ); ?></h2>
    12901290            <div class="inside">
    12911291                <label for="description" class="screen-reader-text"><?php esc_html_e( 'Add description', 'buddypress' ); ?></label>
     
    13191319
    13201320        <div id="member-types-div" class="postbox">
    1321             <h3><?php _e( 'Member Types', 'buddypress' ); ?></h3>
     1321            <h2><?php _e( 'Member Types', 'buddypress' ); ?></h2>
    13221322            <div class="inside">
    13231323                <p class="description"><?php _e( 'This field should be available to:', 'buddypress' ); ?></p>
     
    13651365
    13661366        <div class="postbox">
    1367             <h3><label for="default-visibility"><?php esc_html_e( 'Visibility', 'buddypress' ); ?></label></h3>
     1367            <h2><label for="default-visibility"><?php esc_html_e( 'Visibility', 'buddypress' ); ?></label></h2>
    13681368            <div class="inside">
    13691369                <div>
     
    14141414
    14151415        <div class="postbox">
    1416             <h3><label for="required"><?php esc_html_e( 'Requirement', 'buddypress' ); ?></label></h3>
     1416            <h2><label for="required"><?php esc_html_e( 'Requirement', 'buddypress' ); ?></label></h2>
    14171417            <div class="inside">
    14181418                <select name="required" id="required">
     
    14411441
    14421442        <div class="postbox">
    1443             <h3><label for="fieldtype"><?php esc_html_e( 'Type', 'buddypress'); ?></label></h3>
     1443            <h2><label for="fieldtype"><?php esc_html_e( 'Type', 'buddypress'); ?></label></h2>
    14441444            <div class="inside">
    14451445                <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)" style="width: 30%">
Note: See TracChangeset for help on using the changeset viewer.