Skip to content

Commit

Permalink
Merge branch 'MDL-34558_accessibility_m23' of git://github.com/rwijay…
Browse files Browse the repository at this point in the history
…a/moodle into MOODLE_23_STABLE
  • Loading branch information
danpoltawski committed Aug 6, 2012
2 parents 61e520a + f81c3a3 commit 00cb41c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion filter/algebra/algebradebug.php
Expand Up @@ -280,7 +280,8 @@ function slasharguments($texexp, $md5) {
<form action="algebradebug.php" method="get"
target="inlineframe">
<center>
<input type="text" name="algebra" size="50"
<label for="algebra" class="accesshide"><?php print_string('algebraicexpression', 'filter_algebra'); ?></label>
<input type="text" id="algebra" name="algebra" size="50"
value="sin(z)/(x^2+y^2)" />
</center>
<ol>
Expand Down
1 change: 1 addition & 0 deletions filter/algebra/lang/en/filter_algebra.php
Expand Up @@ -24,3 +24,4 @@
*/

$string['filtername'] = 'Algebra notation';
$string['algebraicexpression'] = 'Algebraic expression';
5 changes: 4 additions & 1 deletion filter/manage.php
Expand Up @@ -181,7 +181,10 @@
} else {
$activechoices[TEXTFILTER_INHERIT] = $strdefaultoff;
}
$row[] = html_writer::select($activechoices, str_replace('/', '_', $filter), $filterinfo->localstate, false);
$filtername = str_replace('/', '_', $filter);
$select = html_writer::label($filterinfo->localstate, 'menu'. $filtername, false, array('class' => 'accesshide'));
$select .= html_writer::select($activechoices, $filtername, $filterinfo->localstate, false);
$row[] = $select;

// Settings link, if required
if ($settingscol) {
Expand Down

0 comments on commit 00cb41c

Please sign in to comment.