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

Remove redundant alt and title from user picture

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64488-master
    • 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".

    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

        Activity

          People

            damyon Damyon Wiese
            damyon Damyon Wiese
            Mark Nelson Mark Nelson
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Mar/19

              Time Tracking

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