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

Broken ARIA reference in the user menu

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Sprint:
      International 3.9 - Sprint 5, International 3.9 - Sprint 6

      Description

      Issue

      Broken ARIA references

      An aria-labelledby or aria-describedby reference exists in the User drop down, but the target for the reference does not exist.
      Fig. 0.03

      Impact on users

      ARIA labels and descriptions will not be presented if the element referenced does not exist in the page

      Guidelines affected
      • 1.3.1 Info and Relationships (A)
        • Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.
      • 4.1.2 Name, Role, Value (A)
        • For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.
      Recommendation

      Ensure the element referenced in the aria-labelledby or aria-describedby attribute value is present within the page and presents a proper label or description.

      More info

      From axe tool.

      Issue description

      Ensures all ARIA attributes have valid values

      Element location

      #action-menu-1-menu

      Element source

      <div class="dropdown-menu dropdown-menu-right menu align-tr-br show" id="action-menu-1-menu" data-rel="menu-content" aria-labelledby="action-menu-toggle-1" role="menu" data-align="tr-br">
      

      To solve this violation, you need to:
      Fix the following:

      Invalid ARIA attribute value: aria-labelledby="action-menu-toggle-1"
      

        Attachments

        1. Fig. 0.03.png
          16 kB
          Shamim Rezaie
        2. image-2020-02-27-08-18-22-445.png
          106 kB
          Janelle Barcega

          Activity

            People

            Assignee:
            rezaie9 Shamim Rezaie
            Reporter:
            jpataleta Jun Pataleta
            Peer reviewer:
            Jun Pataleta
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Mar/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 10 minutes
                4h 10m