Skip to content

Commit

Permalink
[4.0] batch user field label [a11y] (#29915)
Browse files Browse the repository at this point in the history
the label had the wrong `for=`

This pr corrects that so that the label is correctly marked to be for the select with th id batch-user-id

code review should be ok
  • Loading branch information
brianteeman committed Jul 3, 2020
1 parent 3c52791 commit 3c08bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/joomla/html/batch/user.php
Expand Up @@ -28,7 +28,7 @@
$optionNo = '<option value="0">' . Text::_('JLIB_HTML_BATCH_USER_NOUSER') . '</option>';
}
?>
<label id="batch-user-lbl" for="batch-user">
<label id="batch-user-lbl" for="batch-user-id">
<?php echo Text::_('JLIB_HTML_BATCH_USER_LABEL'); ?>
</label>
<select name="batch[user_id]" class="custom-select" id="batch-user-id">
Expand Down

0 comments on commit 3c08bc1

Please sign in to comment.