Skip to content

Commit

Permalink
MDL-48265 feedback: Added alt text to ghostscript test image
Browse files Browse the repository at this point in the history
  • Loading branch information
marsh0lion committed Nov 18, 2014
1 parent c106341 commit 25fd8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -51,6 +51,7 @@
$string['generatefeedback'] = 'Generate feedback PDF';
$string['gotopage'] = 'Go to page';
$string['green'] = 'Green';
$string['gsimage'] = 'Ghostscript test image';
$string['pathtogspathdesc'] = 'Please note that annotate PDF requires the path to ghostscript to be set in {$a}.';
$string['highlight'] = 'Highlight';
$string['jsrequired'] = 'JavaScript is required to annotate a PDF. Please enable JavaScript in your browser to use this feature.';
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/feedback/editpdf/testgs.php
Expand Up @@ -55,7 +55,7 @@
$msg = get_string('test_ok', 'assignfeedback_editpdf');
$msg .= html_writer::empty_tag('br');
$imgurl = new moodle_url($PAGE->url, array('sendimage' => 1));
$msg .= html_writer::empty_tag('img', array('src' => $imgurl));
$msg .= html_writer::empty_tag('img', array('src' => $imgurl, 'alt' => get_string('gsimage', 'assignfeedback_editpdf')));
break;

case assignfeedback_editpdf\pdf::GSPATH_ERROR:
Expand Down

0 comments on commit 25fd8e0

Please sign in to comment.