Permalink
Browse files

MDL-20458 - adding help button to screen reader

  • Loading branch information...
1 parent 2821c49 commit 7851bd35ae614c9afd299dbcb28270048c0ddeaf @rwijaya rwijaya committed Jul 8, 2010
Showing with 2 additions and 0 deletions.
  1. +1 −0 lang/en/moodle.php
  2. +1 −0 user/editlib.php
View
@@ -1410,6 +1410,7 @@
$string['screenreaderno'] = 'No';
$string['screenreaderuse'] = 'Screen reader';
$string['screenreaderyes'] = 'Yes';
+$string['screenreaderuse_help'] = 'If set to yes, a more accessible interface is provided in various places such as chat.';
$string['screenshot'] = 'Screenshot';
$string['search'] = 'Search'; // TODO rename to searchforums and move to mod_forum
$string['search_help'] = 'For basic searching of one or more words anywhere in the text, just type them separated by spaces. All words longer than two characters are used.
View
@@ -185,6 +185,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
$choices['1'] = get_string('screenreaderyes');
$mform->addElement('select', 'screenreader', get_string('screenreaderuse'), $choices);
$mform->setDefault('screenreader', 0);
+ $mform->addHelpButton('screenreader', 'screenreaderuse');
$mform->addElement('text', 'city', get_string('city'), 'maxlength="20" size="21"');
$mform->setType('city', PARAM_MULTILANG);

0 comments on commit 7851bd3

Please sign in to comment.