Skip to content

Commit 7e8a581

Browse files
committed
Add tabindex to biography textarea
1 parent 98740c7 commit 7e8a581

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/templates/User/Update.phtml

+6-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,12 @@ require('./header.inc.phtml');
158158
} ?>>
159159
<hr/>
160160
<label for="biography">Biography:</label>
161-
<textarea maxlength="<?php echo $this->getContext()->biography_max_len; ?>" name="biography" id="biography"><?php echo filter_var($this->getContext()->biography, FILTER_SANITIZE_FULL_SPECIAL_CHARS); ?></textarea>
161+
<textarea tabindex="5"
162+
maxlength="<?php echo $this->getContext()->biography_max_len; ?>"
163+
name="biography" id="biography"><?php echo filter_var(
164+
$this->getContext()->biography,
165+
FILTER_SANITIZE_FULL_SPECIAL_CHARS
166+
); ?></textarea>
162167
<?php if ($biography_error) {
163168
echo '<p>' . $biography_error . '</p>';
164169
} ?>

0 commit comments

Comments
 (0)