Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62515

Unnecessary button role attribute for the submit button in core/single_select template

    XMLWordPrintable

    Details

      Description

      Just noticed the following error in Travis for the data privacy tool:

      /home/travis/moodle/admin/tool/dataprivacy/templates/data_deletion.mustache - WARNING: HTML Validation info, line 17: The “button” role is unnecessary for element “input” whose type is “submit”. ( <input type="submit" role="button" class="btn btn-secondary" value="[[go, core]]">)

      This refers to the core/single_select template. Might be nice to fix to help plugins get a green build in CIs like Travis.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/18