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

single_select has no label associated with it

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.7, 2.8.5, 2.9
    • 3.0
    • Badges, General
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_30_STABLE
    • m29_MDL-49628a
    • Hide
      • Confirm that there is a way to add labels and other attributes when using $OUTPUT->single_select. This can be done using the additional $attributes parameter in the function call
      • Confirm that there is a label or an aria-describedby associated with the "Add badge criteria" and the "Any/All" dropdown when adding a badges criteria
      • Confirm that the "select role" dropdown when going to award a badge by role has a label associated with it.
      • Confirm that the create a new field dropdown in a database activity has a label associated with it.
      • Confirm that when adding a new user profile field, the create new profile field dropdown has a label associated with it.
      • Confirm when viewing participants within a course that the "with selected users" dropdown has a label associated with it
      Show
      Confirm that there is a way to add labels and other attributes when using $OUTPUT->single_select. This can be done using the additional $attributes parameter in the function call Confirm that there is a label or an aria-describedby associated with the "Add badge criteria" and the "Any/All" dropdown when adding a badges criteria Confirm that the "select role" dropdown when going to award a badge by role has a label associated with it. Confirm that the create a new field dropdown in a database activity has a label associated with it. Confirm that when adding a new user profile field, the create new profile field dropdown has a label associated with it. Confirm when viewing participants within a course that the "with selected users" dropdown has a label associated with it

    Description

      When a call is made to display a single select (via $OUTPUT->single_select(), there appears to be no way of attaching a label (and labels are needed for screen readers). One place that it is used is on criteria tab on a edit badge table.

      Attachments

        Issue Links

          Activity

            People

              brianb Brian Barnes
              brianb Brian Barnes
              Adrian Greeve Adrian Greeve
              Dan Poltawski Dan Poltawski
              Dave Cooper Dave Cooper
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15