Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15663

Table on Main.WebHome is missing the header

    XMLWordPrintable

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      AFFECTS:

      • xwiki:Main.WebHome (en, fr, ca, pt_BR)
      • xwiki:XWiki.AccountValidation (redirects to Main.WebHome)

      ERROR:

      • org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.Validating HTML5 Dutch Web Guidelines validity for: xwiki:Main.WebHome executed with credentials Admin:admin (from org.xwiki.test.webstandards.AllTests)
      • ERROR: At least one table has been found that uses no th element.
      • ERROR: No headers or id attributes have been found. When not using these be advised to use the scope attribute instead to associate table labels (<th> cells) with columns and rows. (see R-pd.11.4).

      INVALIDATES:

      EXPLANATION:

      • Data tables should contain a header
        Tables which contain data (as opposed to layout tables) should contain proper table header elements to mark them for screen readers and enhance the structure of the document.

      FIXES:

      • VAR1: TH + add "scope" attribute + adjust styling for table header to remove the border and spacing + apply to translations pages
      • VAR2: Replace the table with divs, since this is not a data table. Use grid or floating containers

        Attachments

        1. initial.png
          355 kB
          Ecaterina Moraru (Valica)
        2. Main-WebHome-Table-Header.png
          139 kB
          Ecaterina Moraru (Valica)
        3. Main-WebHome-Table-Header-after-var1.png
          338 kB
          Ecaterina Moraru (Valica)
        4. Screenshot 2019-03-15 at 18.27.09.png
          428 kB
          Vincent Massol
        5. VAR1.png
          327 kB
          Ecaterina Moraru (Valica)
        6. VAR2.png
          427 kB
          Ecaterina Moraru (Valica)
        7. VAR2b.png
          444 kB
          Ecaterina Moraru (Valica)

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: