Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
5b711b3e
Commit
5b711b3e
authored
Jul 27, 2012
by
Rossiani Wijaya
Committed by
Aparup Banerjee
Jul 31, 2012
Browse files
MDL-34554 accessibility compliance for blocks: Add forform input text and select tag
parent
eac75f21
Changes
2
Hide whitespace changes
Inline
Side-by-side
blocks/section_links/config_instance.html
View file @
5b711b3e
...
...
@@ -66,7 +66,7 @@ for($i = 1; $i < 3; $i++){
?>
<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]); ?>
...
...
@@ -77,7 +77,7 @@ for($i = 1; $i < 3; $i++){
</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]); ?>
...
...
blocks/tags/block_tags.php
View file @
5b711b3e
...
...
@@ -224,7 +224,6 @@ class block_tags extends block_base {
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)
...
...
@@ -249,7 +248,8 @@ class block_tags extends block_base {
<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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment