Skip to content

Commit

Permalink
MDL-34554 accessibility compliance for blocks: Add forform input text…
Browse files Browse the repository at this point in the history
… and select tag
  • Loading branch information
Rossiani Wijaya authored and Aparup Banerjee committed Jul 31, 2012
1 parent 61e3665 commit 8291579
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blocks/section_links/config_instance.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
?>
<tr valign="top">
<td align="right">
<?php print_string('numsections'.$i, 'block_section_links'); ?>:
<label for="menunumsections<?php echo $i; ?>"><?php print_string('numsections'.$i, 'block_section_links'); ?>:</label>
</td>
<td>
<?php choose_from_menu($numberofsections, 'numsections'.$i, $selected[$i][0]); ?>
Expand All @@ -77,7 +77,7 @@
</tr>
<tr valign="top">
<td align="right">
<?php print_string('incby'.$i, 'block_section_links'); ?>:
<label for="menuincby<?php echo $i;?>"><?php print_string('incby'.$i, 'block_section_links'); ?>:</label>
</td>
<td>
<?php choose_from_menu($increments, 'incby'.$i, $selected[$i][1]); ?>
Expand Down
4 changes: 2 additions & 2 deletions blocks/tags/block_tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ function get_content() {
if ($officialtags) { $this->content->text .= $officialtagscontent; }
if ($coursetags) { $this->content->text .= $coursetagscontent; }
if ($commtags) { $this->content->text .= $commtagscontent; }

// add the input form section (allowing a user to tag the current course) and navigation, or loggin message
if ($loggedin) {
// only show the input form on course pages for those allowed (or not barred)
Expand All @@ -250,7 +249,8 @@ function get_content() {
<div class="coursetag_form_wrapper">
<div class="coursetag_form_positioner">
<div class="coursetag_form_input1">
<input type="text" name="coursetag_sug_keyword" class="coursetag_form_input1a" disabled="disabled" />
<label class="accesshide" for="coursetag_sug_keyword">$tagthisunit</label>
<input type="text" name="coursetag_sug_keyword" id="coursetag_sug_keyword" class="coursetag_form_input1a" disabled="disabled" />
</div>
<div class="coursetag_form_input2">
<input type="text" name="coursetag_new_tag" id="coursetag_new_tag" class="coursetag_form_input2a"
Expand Down

0 comments on commit 8291579

Please sign in to comment.