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

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

XMLWordPrintable

      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.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.