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

Broken ARIA reference in the user menu


    • 0
    • International 3.9 - Sprint 5, International 3.9 - Sprint 6


      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.

      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


      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"

            rezaie9 Shamim Rezaie
            jpataleta Jun Pataleta
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            0 Vote for this issue
            4 Start watching this issue


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

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