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

Remove redundant alt and title from user picture

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Go to a course participants page.

      Inspect the user picture in the top right of the page. Verify it has no alt or title attributes and that it has aria-hidden="true" (not shown to screen readers).

      Inspect one of the participant pictures in the table. Verify it has title and alt set to "Picture of Persons Name". Verify it does not have aria-hidden="true".

      Show
      Go to a course participants page. Inspect the user picture in the top right of the page. Verify it has no alt or title attributes and that it has aria-hidden="true" (not shown to screen readers). Inspect one of the participant pictures in the table. Verify it has title and alt set to "Picture of Persons Name". Verify it does not have aria-hidden="true".
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-64488-master

      Description

      The user picture icon on every page has alt text AND a title which duplicates the alt text. This is also marked as "presentation" role and the users name is already part of the link, so neither are needed.

      Remove the redundant title and alt text from the user picture icon in the top right of every page.

        Attachments

        1. MDL-64488.jpg
          41 kB
          Anna Carissa Sadia

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Mark Nelson
            Integrator:
            Jun Pataleta
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Mar/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m