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

iFrames usage is discouraged by WCAG

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      AFFECTS:

      • xwiki:Main.WebHome (en, fr, ca, pt_BR)
      • xwiki:Help.Videos.WebHome
      • xwiki:FlamingoThemes.Cerulean
      • xwiki:FlamingoThemes.Charcoal
      • xwiki.FlamingoThemes.* (other 22 entries)
      • xwiki:FlamingoThemesCode.ThemeSheet
      • xwiki:FlamingoThemesCode.ThemeTemplate

      ERROR:

      • org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.Validating HTML5 Dutch Web Guidelines validity for: xwiki:FlamingoThemes.Cerulean executed with credentials Admin:admin (from org.xwiki.test.webstandards.AllTests)
      • ERROR: The use of iframes is not allowed.

      INVALIDATES:

      FIXES:

      • VAR1: Remove the Homepage video
      • VAR2: Make exceptions for Main.WebHome, Help.Videos and FlamingoThemes.*.
        • There is no other way except using iframes to embed YouTube videos. A solution would be to put images as placeholders and load with JS the video but that would fake it somehow, plus it's additional code that needs to be written.
        • But in the case of FlamingoThemes, the iframes are needed in order to have the Preview.

      Attachments

        1. Homepage.png
          Homepage.png
          394 kB
        2. FlamingoThemes.png
          FlamingoThemes.png
          441 kB
        3. HelpVideos.png
          HelpVideos.png
          933 kB

        Issue Links

          Activity

            People

              surli Simon Urli
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: