Skip to:
Content

bbPress.org

Ticket #2714: 2714.patch

File 2714.patch, 49.5 KB (added by joedolson, 9 years ago)

Remove all tabindex attributes

  • src/bbpress.php

     
    276276                $this->domain         = 'bbpress';      // Unique identifier for retrieving translated strings
    277277                $this->extend         = new stdClass(); // Plugins add data here
    278278                $this->errors         = new WP_Error(); // Feedback
    279                 $this->tab_index      = apply_filters( 'bbp_default_tab_index', 100 );
    280279        }
    281280
    282281        /**
  • src/includes/admin/metaboxes.php

     
    355355
    356356                        // Output-related
    357357                        'select_id'          => 'parent_id',
    358                         'tab'                => bbp_get_tab_index(),
    359358                        'options_only'       => false,
    360359                        'show_none'          => __( '— No parent —', 'bbpress' ),
    361360                        'disable_categories' => false,
     
    437436
    438437                        // Output-related
    439438                        'select_id'          => 'parent_id',
    440                         'tab'                => bbp_get_tab_index(),
    441439                        'options_only'       => false,
    442440                        'show_none'          => __( '— No parent —', 'bbpress' ),
    443441                        'disable_categories' => current_user_can( 'edit_forums' ),
     
    507505
    508506                                // Output-related
    509507                                'select_id'          => 'bbp_forum_id',
    510                                 'tab'                => bbp_get_tab_index(),
    511508                                'options_only'       => false,
    512509                                'show_none'          => __( '— No parent —', 'bbpress' ),
    513510                                'disable_categories' => current_user_can( 'edit_forums' ),
  • src/includes/common/template.php

     
    13131313        }
    13141314
    13151315/**
    1316  * Output the current tab index of a given form
    1317  *
    1318  * Use this function to handle the tab indexing of user facing forms within a
    1319  * template file. Calling this function will automatically increment the global
    1320  * tab index by default.
    1321  *
    1322  * @since bbPress (r2810)
    1323  *
    1324  * @param int $auto_increment Optional. Default true. Set to false to prevent
    1325  *                             increment
    1326  */
    1327 function bbp_tab_index( $auto_increment = true ) {
    1328         echo bbp_get_tab_index( $auto_increment );
    1329 }
    1330 
    1331         /**
    1332          * Return the current tab index of a given form
    1333          *
    1334          * Use this function to handle the tab indexing of user facing forms
    1335          * within a template file. Calling this function will automatically
    1336          * increment the global tab index by default.
    1337          *
    1338          * @since bbPress (r2810)
    1339          *
    1340          * @uses apply_filters Allows return value to be filtered
    1341          * @param int $auto_increment Optional. Default true. Set to false to
    1342          *                             prevent the increment
    1343          * @return int $bbp->tab_index The global tab index
    1344          */
    1345         function bbp_get_tab_index( $auto_increment = true ) {
    1346                 $bbp = bbpress();
    1347 
    1348                 if ( true === $auto_increment ) {
    1349                         ++$bbp->tab_index;
    1350                 }
    1351 
    1352                 return apply_filters( 'bbp_get_tab_index', (int) $bbp->tab_index );
    1353         }
    1354 
    1355 /**
    13561316 * Output a select box allowing to pick which forum/topic a new topic/reply
    13571317 * belongs in.
    13581318 *
     
    13881348         *  - walker: Which walker to use? Defaults to
    13891349         *             {@link BBP_Walker_Dropdown}
    13901350         *  - select_id: ID of the select box. Defaults to 'bbp_forum_id'
    1391          *  - tab: Tabindex value. False or integer
    13921351         *  - options_only: Show only <options>? No <select>?
    13931352         *  - show_none: Boolean or String __( '(No Forum)', 'bbpress' )
    13941353         *  - disable_categories: Disable forum categories and closed forums?
     
    14281387
    14291388                        // Output-related
    14301389                        'select_id'          => 'bbp_forum_id',
    1431                         'tab'                => bbp_get_tab_index(),
    14321390                        'options_only'       => false,
    14331391                        'show_none'          => false,
    14341392                        'disable_categories' => true,
     
    14771435                        // Should this select appear disabled?
    14781436                        $disabled  = disabled( isset( bbpress()->options[ $r['disabled'] ] ), true, false );
    14791437
    1480                         // Setup the tab index attribute
    1481                         $tab       = !empty( $r['tab'] ) ? ' tabindex="' . intval( $r['tab'] ) . '"' : '';
    1482 
    14831438                        // Open the select tag
    1484                         $retval   .= '<select name="' . esc_attr( $r['select_id'] ) . '" id="' . esc_attr( $r['select_id'] ) . '"' . $disabled . $tab . '>' . "\n";
     1439                        $retval   .= '<select name="' . esc_attr( $r['select_id'] ) . '" id="' . esc_attr( $r['select_id'] ) . '"' . $disabled . '>' . "\n";
    14851440                }
    14861441
    14871442                // Display a leading 'no-value' option, with or without custom text
     
    17731728                        'wpautop'           => true,
    17741729                        'media_buttons'     => false,
    17751730                        'textarea_rows'     => '12',
    1776                         'tabindex'          => bbp_get_tab_index(),
    17771731                        'tabfocus_elements' => 'bbp_topic_title,bbp_topic_tags',
    17781732                        'editor_class'      => 'bbp-the-content',
    17791733                        'tinymce'           => false,
     
    18141768                                'wpautop'           => $r['wpautop'],
    18151769                                'media_buttons'     => $r['media_buttons'],
    18161770                                'textarea_rows'     => $r['textarea_rows'],
    1817                                 'tabindex'          => $r['tabindex'],
    18181771                                'tabfocus_elements' => $r['tabfocus_elements'],
    18191772                                'editor_class'      => $r['editor_class'],
    18201773                                'tinymce'           => $r['tinymce'],
     
    18371790                 */
    18381791                else : ?>
    18391792
    1840                         <textarea id="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" class="<?php echo esc_attr( $r['editor_class'] ); ?>" name="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" cols="60" rows="<?php echo esc_attr( $r['textarea_rows'] ); ?>" tabindex="<?php echo esc_attr( $r['tabindex'] ); ?>"><?php echo $post_content; ?></textarea>
     1793                        <textarea id="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" class="<?php echo esc_attr( $r['editor_class'] ); ?>" name="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" cols="60" rows="<?php echo esc_attr( $r['textarea_rows'] ); ?>"><?php echo $post_content; ?></textarea>
    18411794
    18421795                <?php endif;
    18431796
  • src/includes/common/widgets.php

     
    9090
    9191                                        <div class="bbp-username">
    9292                                                <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    93                                                 <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     93                                                <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" />
    9494                                        </div>
    9595
    9696                                        <div class="bbp-password">
    9797                                                <label for="user_pass"><?php _e( 'Password', 'bbpress' ); ?>: </label>
    98                                                 <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" tabindex="<?php bbp_tab_index(); ?>" />
     98                                                <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" />
    9999                                        </div>
    100100
    101101                                        <div class="bbp-remember-me">
    102                                                 <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ), true, true ); ?> id="rememberme" tabindex="<?php bbp_tab_index(); ?>" />
     102                                                <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ), true, true ); ?> id="rememberme" />
    103103                                                <label for="rememberme"><?php _e( 'Remember Me', 'bbpress' ); ?></label>
    104104                                        </div>
    105105
     
    107107
    108108                                                <?php do_action( 'login_form' ); ?>
    109109
    110                                                 <button type="submit" name="user-submit" id="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
     110                                                <button type="submit" name="user-submit" id="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
    111111
    112112                                                <?php bbp_user_login_fields(); ?>
    113113
  • src/includes/forums/template.php

     
    24192419 *
    24202420 * @param $args This function supports these arguments:
    24212421 *  - select_id: Select id. Defaults to bbp_forum_type
    2422  *  - tab: Tabindex
    24232422 *  - forum_id: Forum id
    24242423 *  - selected: Override the selected option
    24252424 * @uses bbp_get_form_forum_type() To get the topic's forum id
     
    24342433         *
    24352434         * @param $args This function supports these arguments:
    24362435         *  - select_id: Select id. Defaults to bbp_forum_type
    2437          *  - tab: Tabindex
    24382436         *  - forum_id: Forum id
    24392437         *  - selected: Override the selected option
    24402438         * @uses bbp_is_topic_edit() To check if it's the topic edit page
     
    24552453                // Parse arguments against default values
    24562454                $r = bbp_parse_args( $args, array(
    24572455                        'select_id'    => 'bbp_forum_type',
    2458                         'tab'          => bbp_get_tab_index(),
    24592456                        'forum_id'     => $forum_id,
    24602457                        'selected'     => false
    24612458                ), 'forum_type_select' );
     
    24822479                        }
    24832480                }
    24842481
    2485                 // Used variables
    2486                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    2487 
    24882482                // Start an output buffer, we'll finish it after the select loop
    24892483                ob_start(); ?>
    24902484
    2491                 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>>
     2485                <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select">
    24922486
    24932487                        <?php foreach ( bbp_get_forum_types() as $key => $label ) : ?>
    24942488
     
    25112505 *
    25122506 * @param $args This function supports these arguments:
    25132507 *  - select_id: Select id. Defaults to bbp_forum_status
    2514  *  - tab: Tabindex
    25152508 *  - forum_id: Forum id
    25162509 *  - selected: Override the selected option
    25172510 * @uses bbp_get_form_forum_status() To get the topic's forum id
     
    25262519         *
    25272520         * @param $args This function supports these arguments:
    25282521         *  - select_id: Select id. Defaults to bbp_forum_status
    2529          *  - tab: Tabindex
    25302522         *  - forum_id: Forum id
    25312523         *  - selected: Override the selected option
    25322524         * @uses bbp_is_topic_edit() To check if it's the topic edit page
     
    25472539                // Parse arguments against default values
    25482540                $r = bbp_parse_args( $args, array(
    25492541                        'select_id'    => 'bbp_forum_status',
    2550                         'tab'          => bbp_get_tab_index(),
    25512542                        'forum_id'     => $forum_id,
    25522543                        'selected'     => false
    25532544                ), 'forum_status_select' );
     
    25742565                        }
    25752566                }
    25762567
    2577                 // Used variables
    2578                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    2579 
    25802568                // Start an output buffer, we'll finish it after the select loop
    25812569                ob_start(); ?>
    25822570
    2583                 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>>
     2571                <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select">
    25842572
    25852573                        <?php foreach ( bbp_get_forum_statuses() as $key => $label ) : ?>
    25862574
     
    26032591 *
    26042592 * @param $args This function supports these arguments:
    26052593 *  - select_id: Select id. Defaults to bbp_forum_visibility
    2606  *  - tab: Tabindex
    26072594 *  - forum_id: Forum id
    26082595 *  - selected: Override the selected option
    26092596 * @uses bbp_get_form_forum_visibility() To get the topic's forum id
     
    26182605         *
    26192606         * @param $args This function supports these arguments:
    26202607         *  - select_id: Select id. Defaults to bbp_forum_visibility
    2621          *  - tab: Tabindex
    26222608         *  - forum_id: Forum id
    26232609         *  - selected: Override the selected option
    26242610         * @uses bbp_is_topic_edit() To check if it's the topic edit page
     
    26392625                // Parse arguments against default values
    26402626                $r = bbp_parse_args( $args, array(
    26412627                        'select_id'    => 'bbp_forum_visibility',
    2642                         'tab'          => bbp_get_tab_index(),
    26432628                        'forum_id'     => $forum_id,
    26442629                        'selected'     => false
    26452630                ), 'forum_type_select' );
     
    26662651                        }
    26672652                }
    26682653
    2669                 // Used variables
    2670                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    2671 
    26722654                // Start an output buffer, we'll finish it after the select loop
    26732655                ob_start(); ?>
    26742656
    2675                 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>>
     2657                <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select">
    26762658
    26772659                        <?php foreach ( bbp_get_forum_visibilities() as $key => $label ) : ?>
    26782660
  • src/includes/replies/template.php

     
    27612761 *
    27622762 * @param $args This function supports these arguments:
    27632763 *  - select_id: Select id. Defaults to bbp_reply_status
    2764  *  - tab: Tabindex
    27652764 *  - reply_id: Reply id
    27662765 *  - selected: Override the selected option
    27672766 */
     
    27792778         *
    27802779         * @param $args This function supports these arguments:
    27812780         *  - select_id: Select id. Defaults to bbp_reply_status
    2782          *  - tab: Tabindex
    27832781         *  - reply_id: Reply id
    27842782         *  - selected: Override the selected option
    27852783         */
     
    27882786                // Parse arguments against default values
    27892787                $r = bbp_parse_args( $args, array(
    27902788                        'select_id' => 'bbp_reply_status',
    2791                         'tab'       => bbp_get_tab_index(),
    27922789                        'reply_id'  => 0,
    27932790                        'selected'  => false
    27942791                ), 'reply_status_dropdown' );
     
    28152812                        }
    28162813                }
    28172814
    2818                 // Used variables
    2819                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    2820 
    28212815                // Start an output buffer, we'll finish it after the select loop
    28222816                ob_start(); ?>
    28232817
    2824                 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select"<?php echo $tab; ?>>
     2818                <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select">
    28252819
    28262820                        <?php foreach ( bbp_get_reply_statuses( $r['reply_id'] ) as $key => $label ) : ?>
    28272821
  • src/includes/topics/template.php

     
    32133213 *
    32143214 * @param $args This function supports these arguments:
    32153215 *  - select_id: Select id. Defaults to bbp_stick_topic
    3216  *  - tab: Tabindex
    32173216 *  - topic_id: Topic id
    32183217 *  - selected: Override the selected option
    32193218 */
     
    32283227 *
    32293228 * @param $args This function supports these arguments:
    32303229 *  - select_id: Select id. Defaults to bbp_stick_topic
    3231  *  - tab: Tabindex
    32323230 *  - topic_id: Topic id
    32333231 *  - selected: Override the selected option
    32343232 */
     
    32423240         *
    32433241         * @param $args This function supports these arguments:
    32443242         *  - select_id: Select id. Defaults to bbp_stick_topic
    3245          *  - tab: Tabindex
    32463243         *  - topic_id: Topic id
    32473244         *  - selected: Override the selected option
    32483245         * @uses bbp_get_topic_id() To get the topic id
     
    32563253                // Parse arguments against default values
    32573254                $r = bbp_parse_args( $args, array(
    32583255                        'select_id'    => 'bbp_stick_topic',
    3259                         'tab'          => bbp_get_tab_index(),
    32603256                        'topic_id'     => 0,
    32613257                        'selected'     => false
    32623258                ), 'topic_type_select' );
     
    32893285                        }
    32903286                }
    32913287
    3292                 // Used variables
    3293                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    3294 
    32953288                // Start an output buffer, we'll finish it after the select loop
    32963289                ob_start(); ?>
    32973290
    3298                 <select name="<?php echo esc_attr( $r['select_id'] ); ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select"<?php echo $tab; ?>>
     3291                <select name="<?php echo esc_attr( $r['select_id'] ); ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select">
    32993292
    33003293                        <?php foreach ( bbp_get_topic_types() as $key => $label ) : ?>
    33013294
     
    33183311 *
    33193312 * @param $args This function supports these arguments:
    33203313 *  - select_id: Select id. Defaults to bbp_topic_status
    3321  *  - tab: Tabindex
    33223314 *  - topic_id: Topic id
    33233315 *  - selected: Override the selected option
    33243316 */
     
    33363328         *
    33373329         * @param $args This function supports these arguments:
    33383330         *  - select_id: Select id. Defaults to bbp_topic_status
    3339          *  - tab: Tabindex
    33403331         *  - topic_id: Topic id
    33413332         *  - selected: Override the selected option
    33423333         */
     
    33453336                // Parse arguments against default values
    33463337                $r = bbp_parse_args( $args, array(
    33473338                        'select_id' => 'bbp_topic_status',
    3348                         'tab'       => bbp_get_tab_index(),
    33493339                        'topic_id'  => 0,
    33503340                        'selected'  => false
    33513341                ), 'topic_open_close_select' );
     
    33723362                        }
    33733363                }
    33743364
    3375                 // Used variables
    3376                 $tab = ! empty( $r['tab'] ) ? ' tabindex="' . (int) $r['tab'] . '"' : '';
    33773365
    33783366                // Start an output buffer, we'll finish it after the select loop
    33793367                ob_start(); ?>
    33803368
    3381                 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select"<?php echo $tab; ?>>
     3369                <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ); ?>_select">
    33823370
    33833371                        <?php foreach ( bbp_get_topic_statuses( $r['topic_id'] ) as $key => $label ) : ?>
    33843372
  • src/templates/default/bbpress/form-anonymous.php

     
    2020
    2121                <p>
    2222                        <label for="bbp_anonymous_author"><?php _e( 'Name (required):', 'bbpress' ); ?></label><br />
    23                         <input type="text" id="bbp_anonymous_author"  value="<?php bbp_author_display_name(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_name" />
     23                        <input type="text" id="bbp_anonymous_author"  value="<?php bbp_author_display_name(); ?>" size="40" name="bbp_anonymous_name" />
    2424                </p>
    2525
    2626                <p>
    2727                        <label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    28                         <input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" />
     28                        <input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" name="bbp_anonymous_email" />
    2929                </p>
    3030
    3131                <p>
    3232                        <label for="bbp_anonymous_website"><?php _e( 'Website:', 'bbpress' ); ?></label><br />
    33                         <input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_website" />
     33                        <input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" size="40" name="bbp_anonymous_website" />
    3434                </p>
    3535
    3636                <?php do_action( 'bbp_theme_anonymous_form_extras_bottom' ); ?>
  • src/templates/default/bbpress/form-forum.php

     
    6565
    6666                                        <p>
    6767                                                <label for="bbp_forum_title"><?php printf( __( 'Forum Name (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br />
    68                                                 <input type="text" id="bbp_forum_title" value="<?php bbp_form_forum_title(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_forum_title" maxlength="<?php bbp_title_max_length(); ?>" />
     68                                                <input type="text" id="bbp_forum_title" value="<?php bbp_form_forum_title(); ?>" size="40" name="bbp_forum_title" maxlength="<?php bbp_title_max_length(); ?>" />
    6969                                        </p>
    7070
    7171                                        <?php do_action( 'bbp_theme_after_forum_form_title' ); ?>
     
    135135
    136136                                                <?php do_action( 'bbp_theme_before_forum_form_submit_button' ); ?>
    137137
    138                                                 <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_forum_submit" name="bbp_forum_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     138                                                <button type="submit" id="bbp_forum_submit" name="bbp_forum_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    139139
    140140                                                <?php do_action( 'bbp_theme_after_forum_form_submit_button' ); ?>
    141141
  • src/templates/default/bbpress/form-reply-move.php

     
    3737                                                        <legend><?php _e( 'Move Method', 'bbpress' ); ?></legend>
    3838
    3939                                                        <div>
    40                                                                 <input name="bbp_reply_move_option" id="bbp_reply_move_option_reply" type="radio" checked="checked" value="topic" tabindex="<?php bbp_tab_index(); ?>" />
     40                                                                <input name="bbp_reply_move_option" id="bbp_reply_move_option_reply" type="radio" checked="checked" value="topic" />
    4141                                                                <label for="bbp_reply_move_option_reply"><?php printf( __( 'New topic in <strong>%s</strong> titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_reply_forum_id( bbp_get_reply_id() ) ) ); ?></label>
    42                                                                 <input type="text" id="bbp_reply_move_destination_title" value="<?php printf( __( 'Moved: %s', 'bbpress' ), bbp_get_reply_title() ); ?>" tabindex="<?php bbp_tab_index(); ?>" size="35" name="bbp_reply_move_destination_title" />
     42                                                                <input type="text" id="bbp_reply_move_destination_title" value="<?php printf( __( 'Moved: %s', 'bbpress' ), bbp_get_reply_title() ); ?>" size="35" name="bbp_reply_move_destination_title" />
    4343                                                        </div>
    4444
    4545                                                        <?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_reply_forum_id( bbp_get_reply_id() ), 'post__not_in' => array( bbp_get_reply_topic_id( bbp_get_reply_id() ) ) ) ) ) : ?>
    4646
    4747                                                                <div>
    48                                                                         <input name="bbp_reply_move_option" id="bbp_reply_move_option_existing" type="radio" value="existing" tabindex="<?php bbp_tab_index(); ?>" />
     48                                                                        <input name="bbp_reply_move_option" id="bbp_reply_move_option_existing" type="radio" value="existing" />
    4949                                                                        <label for="bbp_reply_move_option_existing"><?php _e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label>
    5050
    5151                                                                        <?php
     
    6969                                                </div>
    7070
    7171                                                <div class="bbp-submit-wrapper">
    72                                                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_move_reply_submit" name="bbp_move_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     72                                                        <button type="submit" id="bbp_move_reply_submit" name="bbp_move_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    7373                                                </div>
    7474                                        </div>
    7575
  • src/templates/default/bbpress/form-reply.php

     
    7373
    7474                                                <p>
    7575                                                        <label for="bbp_topic_tags"><?php _e( 'Tags:', 'bbpress' ); ?></label><br />
    76                                                         <input type="text" value="<?php bbp_form_topic_tags(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
     76                                                        <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
    7777                                                </p>
    7878
    7979                                                <?php do_action( 'bbp_theme_after_reply_form_tags' ); ?>
     
    8686
    8787                                                <p>
    8888
    89                                                         <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" />
     89                                                        <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> />
    9090
    9191                                                        <?php if ( bbp_is_reply_edit() && ( bbp_get_reply_author_id() !== bbp_get_current_user_id() ) ) : ?>
    9292
     
    134134
    135135                                                        <fieldset class="bbp-form">
    136136                                                                <legend>
    137                                                                         <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" />
     137                                                                        <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> />
    138138                                                                        <label for="bbp_log_reply_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />
    139139                                                                </legend>
    140140
    141141                                                                <div>
    142142                                                                        <label for="bbp_reply_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />
    143                                                                         <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" />
     143                                                                        <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" />
    144144                                                                </div>
    145145                                                        </fieldset>
    146146
     
    158158
    159159                                                <?php bbp_cancel_reply_to_link(); ?>
    160160
    161                                                 <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     161                                                <button type="submit" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    162162
    163163                                                <?php do_action( 'bbp_theme_after_reply_form_submit_button' ); ?>
    164164
  • src/templates/default/bbpress/form-search.php

     
    1313        <div>
    1414                <label class="screen-reader-text hidden" for="bbp_search"><?php _e( 'Search for:', 'bbpress' ); ?></label>
    1515                <input type="hidden" name="action" value="bbp-search-request" />
    16                 <input tabindex="<?php bbp_tab_index(); ?>" type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" />
    17                 <input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
     16                <input type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" />
     17                <input class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
    1818        </div>
    1919</form>
  • src/templates/default/bbpress/form-topic-merge.php

     
    6868
    6969                                                                <?php if ( bbp_is_subscriptions_active() ) : ?>
    7070
    71                                                                         <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     71                                                                        <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" />
    7272                                                                        <label for="bbp_topic_subscribers"><?php _e( 'Merge topic subscribers', 'bbpress' ); ?></label><br />
    7373
    7474                                                                <?php endif; ?>
    7575
    76                                                                 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     76                                                                <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" />
    7777                                                                <label for="bbp_topic_favoriters"><?php _e( 'Merge topic favoriters', 'bbpress' ); ?></label><br />
    7878
    7979                                                                <?php if ( bbp_allow_topic_tags() ) : ?>
    8080
    81                                                                         <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     81                                                                        <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" />
    8282                                                                        <label for="bbp_topic_tags"><?php _e( 'Merge topic tags', 'bbpress' ); ?></label><br />
    8383
    8484                                                                <?php endif; ?>
     
    9191                                                </div>
    9292
    9393                                                <div class="bbp-submit-wrapper">
    94                                                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     94                                                        <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    9595                                                </div>
    9696                                        </div>
    9797
  • src/templates/default/bbpress/form-topic-split.php

     
    3737                                                        <legend><?php _e( 'Split Method', 'bbpress' ); ?></legend>
    3838
    3939                                                        <div>
    40                                                                 <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" tabindex="<?php bbp_tab_index(); ?>" />
     40                                                                <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" />
    4141                                                                <label for="bbp_topic_split_option_reply"><?php printf( __( 'New topic in <strong>%s</strong> titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label>
    42                                                                 <input type="text" id="bbp_topic_split_destination_title" value="<?php printf( __( 'Split: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" tabindex="<?php bbp_tab_index(); ?>" size="35" name="bbp_topic_split_destination_title" />
     42                                                                <input type="text" id="bbp_topic_split_destination_title" value="<?php printf( __( 'Split: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" size="35" name="bbp_topic_split_destination_title" />
    4343                                                        </div>
    4444
    4545                                                        <?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?>
    4646
    4747                                                                <div>
    48                                                                         <input name="bbp_topic_split_option" id="bbp_topic_split_option_existing" type="radio" value="existing" tabindex="<?php bbp_tab_index(); ?>" />
     48                                                                        <input name="bbp_topic_split_option" id="bbp_topic_split_option_existing" type="radio" value="existing" />
    4949                                                                        <label for="bbp_topic_split_option_existing"><?php _e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label>
    5050
    5151                                                                        <?php
     
    7272
    7373                                                                <?php if ( bbp_is_subscriptions_active() ) : ?>
    7474
    75                                                                         <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     75                                                                        <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" />
    7676                                                                        <label for="bbp_topic_subscribers"><?php _e( 'Copy subscribers to the new topic', 'bbpress' ); ?></label><br />
    7777
    7878                                                                <?php endif; ?>
    7979
    80                                                                 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     80                                                                <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" />
    8181                                                                <label for="bbp_topic_favoriters"><?php _e( 'Copy favoriters to the new topic', 'bbpress' ); ?></label><br />
    8282
    8383                                                                <?php if ( bbp_allow_topic_tags() ) : ?>
    8484
    85                                                                         <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" tabindex="<?php bbp_tab_index(); ?>" />
     85                                                                        <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" />
    8686                                                                        <label for="bbp_topic_tags"><?php _e( 'Copy topic tags to the new topic', 'bbpress' ); ?></label><br />
    8787
    8888                                                                <?php endif; ?>
     
    9595                                                </div>
    9696
    9797                                                <div class="bbp-submit-wrapper">
    98                                                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     98                                                        <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    9999                                                </div>
    100100                                        </div>
    101101
  • src/templates/default/bbpress/form-topic-tag.php

     
    3333
    3434                                        <div>
    3535                                                <label for="tag-name"><?php _e( 'Name:', 'bbpress' ); ?></label>
    36                                                 <input type="text" id="tag-name" name="tag-name" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" />
     36                                                <input type="text" id="tag-name" name="tag-name" size="20" maxlength="40" value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" />
    3737                                        </div>
    3838
    3939                                        <div>
    4040                                                <label for="tag-slug"><?php _e( 'Slug:', 'bbpress' ); ?></label>
    41                                                 <input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( apply_filters( 'editable_slug', bbp_get_topic_tag_slug() ) ); ?>" />
     41                                                <input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" value="<?php echo esc_attr( apply_filters( 'editable_slug', bbp_get_topic_tag_slug() ) ); ?>" />
    4242                                        </div>
    4343
    4444                                        <div>
    4545                                                <label for="tag-description"><?php _e( 'Description:', 'bbpress' ); ?></label>
    46                                                 <input type="text" id="tag-description" name="tag-description" size="20" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" />
     46                                                <input type="text" id="tag-description" name="tag-description" size="20" value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" />
    4747                                        </div>
    4848
    4949                                        <div class="bbp-submit-wrapper">
    50                                                 <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit"><?php esc_attr_e( 'Update', 'bbpress' ); ?></button>
     50                                                <button type="submit" class="button submit"><?php esc_attr_e( 'Update', 'bbpress' ); ?></button>
    5151
    5252                                                <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
    5353                                                <input type="hidden" name="action" value="bbp-update-topic-tag" />
     
    7171
    7272                                        <div>
    7373                                                <label for="tag-existing-name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label>
    74                                                 <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" tabindex="<?php bbp_tab_index(); ?>" maxlength="40" />
     74                                                <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" maxlength="40" />
    7575                                        </div>
    7676
    7777                                        <div class="bbp-submit-wrapper">
    78                                                 <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Merge', 'bbpress' ); ?></button>
     78                                                <button type="submit" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Merge', 'bbpress' ); ?></button>
    7979
    8080                                                <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
    8181                                                <input type="hidden" name="action" value="bbp-merge-topic-tag" />
     
    103103                                        <form id="delete_tag" name="delete_tag" method="post" action="<?php the_permalink(); ?>">
    104104
    105105                                                <div class="bbp-submit-wrapper">
    106                                                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to delete the "%s" tag? This is permanent and cannot be undone.', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Delete', 'bbpress' ); ?></button>
     106                                                        <button type="submit" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to delete the "%s" tag? This is permanent and cannot be undone.', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Delete', 'bbpress' ); ?></button>
    107107
    108108                                                        <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
    109109                                                        <input type="hidden" name="action" value="bbp-delete-topic-tag" />
  • src/templates/default/bbpress/form-topic.php

     
    7676
    7777                                        <p>
    7878                                                <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br />
    79                                                 <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" />
     79                                                <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" />
    8080                                        </p>
    8181
    8282                                        <?php do_action( 'bbp_theme_after_topic_form_title' ); ?>
     
    102102
    103103                                                <p>
    104104                                                        <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br />
    105                                                         <input type="text" value="<?php bbp_form_topic_tags(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
     105                                                        <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
    106106                                                </p>
    107107
    108108                                                <?php do_action( 'bbp_theme_after_topic_form_tags' ); ?>
     
    160160                                                <?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?>
    161161
    162162                                                <p>
    163                                                         <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" />
     163                                                        <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> />
    164164
    165165                                                        <?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?>
    166166
     
    183183
    184184                                                <fieldset class="bbp-form">
    185185                                                        <legend>
    186                                                                 <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" />
     186                                                                <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> />
    187187                                                                <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />
    188188                                                        </legend>
    189189
    190190                                                        <div>
    191191                                                                <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />
    192                                                                 <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
     192                                                                <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
    193193                                                        </div>
    194194                                                </fieldset>
    195195
     
    203203
    204204                                                <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?>
    205205
    206                                                 <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
     206                                                <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    207207
    208208                                                <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?>
    209209
  • src/templates/default/bbpress/form-user-edit.php

     
    2222
    2323                <div>
    2424                        <label for="first_name"><?php _e( 'First Name', 'bbpress' ) ?></label>
    25                         <input type="text" name="first_name" id="first_name" value="<?php bbp_displayed_user_field( 'first_name', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     25                        <input type="text" name="first_name" id="first_name" value="<?php bbp_displayed_user_field( 'first_name', 'edit' ); ?>" class="regular-text" />
    2626                </div>
    2727
    2828                <div>
    2929                        <label for="last_name"><?php _e( 'Last Name', 'bbpress' ) ?></label>
    30                         <input type="text" name="last_name" id="last_name" value="<?php bbp_displayed_user_field( 'last_name', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     30                        <input type="text" name="last_name" id="last_name" value="<?php bbp_displayed_user_field( 'last_name', 'edit' ); ?>" class="regular-text" />
    3131                </div>
    3232
    3333                <div>
    3434                        <label for="nickname"><?php _e( 'Nickname', 'bbpress' ); ?></label>
    35                         <input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     35                        <input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" />
    3636                </div>
    3737
    3838                <div>
     
    5555
    5656                <div>
    5757                        <label for="url"><?php _e( 'Website', 'bbpress' ) ?></label>
    58                         <input type="text" name="url" id="url" value="<?php bbp_displayed_user_field( 'user_url', 'edit' ); ?>" class="regular-text code" tabindex="<?php bbp_tab_index(); ?>" />
     58                        <input type="text" name="url" id="url" value="<?php bbp_displayed_user_field( 'user_url', 'edit' ); ?>" class="regular-text code" />
    5959                </div>
    6060
    6161                <?php foreach ( bbp_edit_user_contact_methods() as $name => $desc ) : ?>
    6262
    6363                        <div>
    6464                                <label for="<?php echo esc_attr( $name ); ?>"><?php echo apply_filters( 'user_' . $name . '_label', $desc ); ?></label>
    65                                 <input type="text" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" value="<?php bbp_displayed_user_field( $name, 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     65                                <input type="text" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" value="<?php bbp_displayed_user_field( $name, 'edit' ); ?>" class="regular-text" />
    6666                        </div>
    6767
    6868                <?php endforeach; ?>
     
    8080
    8181                <div>
    8282                        <label for="description"><?php _e( 'Biographical Info', 'bbpress' ); ?></label>
    83                         <textarea name="description" id="description" rows="5" cols="30" tabindex="<?php bbp_tab_index(); ?>"><?php bbp_displayed_user_field( 'description', 'edit' ); ?></textarea>
     83                        <textarea name="description" id="description" rows="5" cols="30"><?php bbp_displayed_user_field( 'description', 'edit' ); ?></textarea>
    8484                </div>
    8585
    8686                <?php do_action( 'bbp_user_edit_after_about' ); ?>
     
    9696
    9797                <div>
    9898                        <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?></label>
    99                         <input type="text" name="user_login" id="user_login" value="<?php bbp_displayed_user_field( 'user_login', 'edit' ); ?>" disabled="disabled" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     99                        <input type="text" name="user_login" id="user_login" value="<?php bbp_displayed_user_field( 'user_login', 'edit' ); ?>" disabled="disabled" class="regular-text" />
    100100                </div>
    101101
    102102                <div>
    103103                        <label for="email"><?php _e( 'Email', 'bbpress' ); ?></label>
    104104
    105                         <input type="text" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     105                        <input type="text" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" />
    106106
    107107                        <?php
    108108
     
    123123                <div id="password">
    124124                        <label for="pass1"><?php _e( 'New Password', 'bbpress' ); ?></label>
    125125                        <fieldset class="bbp-form password">
    126                                 <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" tabindex="<?php bbp_tab_index(); ?>" />
     126                                <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" />
    127127                                <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.', 'bbpress' ); ?></span>
    128128
    129                                 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" tabindex="<?php bbp_tab_index(); ?>" />
     129                                <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" />
    130130                                <span class="description"><?php _e( 'Type your new password again.', 'bbpress' ); ?></span><br />
    131131
    132132                                <div id="pass-strength-result"></div>
     
    152152                                <div>
    153153                                        <label for="super_admin"><?php _e( 'Network Role', 'bbpress' ); ?></label>
    154154                                        <label>
    155                                                 <input class="checkbox" type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( bbp_get_displayed_user_id() ) ); ?> tabindex="<?php bbp_tab_index(); ?>" />
     155                                                <input class="checkbox" type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( bbp_get_displayed_user_id() ) ); ?> />
    156156                                                <?php _e( 'Grant this user super admin privileges for the Network.', 'bbpress' ); ?>
    157157                                        </label>
    158158                                </div>
     
    175175
    176176                        <?php bbp_edit_user_form_fields(); ?>
    177177
    178                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_user_edit_submit" name="bbp_user_edit_submit" class="button submit user-submit"><?php bbp_is_user_home_edit() ? _e( 'Update Profile', 'bbpress' ) : _e( 'Update User', 'bbpress' ); ?></button>
     178                        <button type="submit" id="bbp_user_edit_submit" name="bbp_user_edit_submit" class="button submit user-submit"><?php bbp_is_user_home_edit() ? _e( 'Update Profile', 'bbpress' ) : _e( 'Update User', 'bbpress' ); ?></button>
    179179                </div>
    180180        </fieldset>
    181181
  • src/templates/default/bbpress/form-user-login.php

     
    1515
    1616                <div class="bbp-username">
    1717                        <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    18                         <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     18                        <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" />
    1919                </div>
    2020
    2121                <div class="bbp-password">
    2222                        <label for="user_pass"><?php _e( 'Password', 'bbpress' ); ?>: </label>
    23                         <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" tabindex="<?php bbp_tab_index(); ?>" />
     23                        <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" />
    2424                </div>
    2525
    2626                <div class="bbp-remember-me">
    27                         <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ) ); ?> id="rememberme" tabindex="<?php bbp_tab_index(); ?>" />
     27                        <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ) ); ?> id="rememberme" />
    2828                        <label for="rememberme"><?php _e( 'Keep me signed in', 'bbpress' ); ?></label>
    2929                </div>
    3030
     
    3232
    3333                <div class="bbp-submit-wrapper">
    3434
    35                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
     35                        <button type="submit" name="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
    3636
    3737                        <?php bbp_user_login_fields(); ?>
    3838
  • src/templates/default/bbpress/form-user-lost-pass.php

     
    1616                <div class="bbp-username">
    1717                        <p>
    1818                                <label for="user_login" class="hide"><?php _e( 'Username or Email', 'bbpress' ); ?>: </label>
    19                                 <input type="text" name="user_login" value="" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     19                                <input type="text" name="user_login" value="" size="20" id="user_login" />
    2020                        </p>
    2121                </div>
    2222
     
    2424
    2525                <div class="bbp-submit-wrapper">
    2626
    27                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Reset My Password', 'bbpress' ); ?></button>
     27                        <button type="submit" name="user-submit" class="button submit user-submit"><?php _e( 'Reset My Password', 'bbpress' ); ?></button>
    2828
    2929                        <?php bbp_user_lost_pass_fields(); ?>
    3030
  • src/templates/default/bbpress/form-user-register.php

     
    2222
    2323                <div class="bbp-username">
    2424                        <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    25                         <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     25                        <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" />
    2626                </div>
    2727
    2828                <div class="bbp-email">
    2929                        <label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label>
    30                         <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
     30                        <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" />
    3131                </div>
    3232
    3333                <?php do_action( 'register_form' ); ?>
    3434
    3535                <div class="bbp-submit-wrapper">
    3636
    37                         <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
     37                        <button type="submit" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
    3838
    3939                        <?php bbp_user_register_fields(); ?>
    4040