[AMOS commit] MDL-69649 backup: Fix missing labels Committed into Git: 2020-09-25 11:07 UTC

[AMOS commit] MDL-69649 backup: Fix missing labels Committed into Git: 2020-09-25 11:07 UTC

by AMOS bot -
Number of replies: 0
Author: Shamim Rezaie
MDL-69649 backup: Fix missing labels
- The backup details page uses a table to show a sumary of the backup
content. Used role attribute to denote the tabular format of the
summary.
- The backup details page displays activity name next to each activity
icon. Therefore the icons are only decorative and do not need to have
any title or even alt text.
- Form labels should be associated with form controls. A div element is
not a form control.
- The from attribute of the form labels should be equal to the id
attribute of an element. Therefore, we first create a label and an
input elements and associate them to each other, and then pass them to
backup_detail_pair() when a label is needed.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=d54b3447e61893d88d5308946778cbe47b44cf43
http://github.com/moodle/moodle/commit/d54b3447e61893d88d5308946778cbe47b44cf43

+ 3.9 en [searchcoursecategories,core]