Skip to content

Commit

Permalink
MDL-36125 course: Added aria-describedby for editing activity title
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja committed Mar 22, 2013
1 parent 29f8c09 commit 6d1e592
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion course/yui/toolboxes/toolboxes.js
Expand Up @@ -509,14 +509,16 @@ 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 />')
.addClass('activityinstance')
.setAttribute('action', '#');
var editinstructions = Y.Node.create('<span />')
.addClass('editinstructions')
.setAttrs({'id' : 'id_editinstructions'})
.set('innerHTML', M.util.get_string('edittitleinstructions', 'moodle'));
var activityicon = element.one('img.activityicon').cloneNode();

Expand Down

0 comments on commit 6d1e592

Please sign in to comment.