[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=2c93a1f53c638d2c6f96ccc6e97dd1cfd5298b1a
http://github.com/moodle/moodle/commit/2c93a1f53c638d2c6f96ccc6e97dd1cfd5298b1a

+ 4.0 en [searchcoursecategories,core]