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

All labels in a group forced to be .accesshide

    XMLWordPrintable

    Details

      Description

      If you add multiple controls to a group in an mform then any labels you add will be forced to become accesshidden.

      Presumably at the time this was done all labels within form group were purely for accessibility purposes and they didn't envision anyone ever using them in a different way. They are however now used quite extensively, particularly within Quiz.

      The desire to make these labels visible again has led to at least two bugs and 2 workarounds, one of which moved the label text outside of the label so that it would be visible (but no longer usable/accessible as a label) and the other added overriding CSS to make .accesshide text visible again.

      If the root issue is fixed then those workarounds would need to be backed out too.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bawjaws David Scotson
              Reporter:
              bawjaws David Scotson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: