Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-36125 course: Added aria-describedby for editing activity title

  • Loading branch information...
commit 8dc10e915e8010023b8e1f7e18951476296ef1fa 1 parent d43ba3c
@rajeshtaneja rajeshtaneja authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 course/yui/toolboxes/toolboxes.js
View
4 course/yui/toolboxes/toolboxes.js
@@ -508,7 +508,8 @@ YUI.add('moodle-course-toolboxes', function(Y) {
.setAttrs({
'name' : 'title',
'value' : titletext,
- 'autocomplete' : 'off'
+ 'autocomplete' : 'off',
+ 'aria-describedby' : 'id_editinstructions'
})
.addClass('titleeditor');
var editform = Y.Node.create('<form />')
@@ -518,6 +519,7 @@ YUI.add('moodle-course-toolboxes', function(Y) {
var editinstructions = Y.Node.create('<span />')
.addClass('editinstructions')
+ .setAttrs({'id' : 'id_editinstructions'})
.set('innerHTML', M.util.get_string('edittitleinstructions', 'moodle'));
// Clear the existing content and put the editor in
Please sign in to comment.
Something went wrong with that request. Please try again.