Permalink
Browse files

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

  • Loading branch information...
1 parent d43ba3c commit 8dc10e915e8010023b8e1f7e18951476296ef1fa @rajeshtaneja rajeshtaneja committed Mar 22, 2013
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

0 comments on commit 8dc10e9

Please sign in to comment.