mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-36125 course: Added aria-describedby for editing activity title
This commit is contained in:
parent
7112729206
commit
fa1ccff866
4
course/yui/toolboxes/toolboxes.js
vendored
4
course/yui/toolboxes/toolboxes.js
vendored
@ -516,7 +516,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 />')
|
||||
@ -524,6 +525,7 @@ YUI.add('moodle-course-toolboxes', function(Y) {
|
||||
.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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user