Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26697 mediaplugin fixes and improvements META
  3. MDL-21491

YouTube filter - "wmode" makes player inaccessible to keyboard users

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.6, 1.9.7, 2.0
    • Fix Version/s: 2.0.3
    • Component/s: Accessibility, Filters
    • Labels:
      None
    • Environment:
      Windows XP/Firefox 3.6; Windows/MSIE 7... (note, a wider, non-Moodle bug makes Flash inaccessible in Mac OS X/Firefox 3.6).
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The parameter values "transparent" and "opaque" (that is, not the default "window") prevent keyboard users from using the TAB key to access and control embedded objects. Please see my blog post for details and related links, "Flash wmode considered harmful" (September 2009), http://freear.org.uk/node/22 - as I note there, most content creators/sites do not need "transparent" Flash objects (and the YouTube embed code does not contain it), so removing this parameter should not be an issue.

      I have found the related bugs/issues MDL-5938 "Transparent background for swf", and MDL-19231"Add filter to process YouTube..." (Moodle 1.9).

      The solution is to remove the following line in function "mediaplugin_filter_youtube_callback", in filter/mediaplugin/filter.php:

      <param name="wmode" value="transparent" />

      Patch to follow. Yours,

      Nick

        Gliffy Diagrams

          Issue Links

            Activity

            nfreear Nick Freear created issue -
            nfreear Nick Freear made changes -
            Field Original Value New Value
            Attachment patch_moodle_MDL-21491_access_wmode_nfreear_1feb10.diff [ 19494 ]
            nfreear Nick Freear made changes -
            Link This issue has a non-specific relationship to MDL-19231 [ MDL-19231 ]
            nfreear Nick Freear made changes -
            Link This issue has a non-specific relationship to MDL-5938 [ MDL-5938 ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 34996 ] MDL Workflow [ 45856 ]
            skodak Petr Skoda made changes -
            Assignee moodle.com [ moodle.com ] Petr Škoda (skodak) [ skodak ]
            skodak Petr Skoda made changes -
            Parent MDL-26697 [ 42777 ]
            Issue Type Bug [ 1 ] Sub-task [ 5 ]
            skodak Petr Skoda made changes -
            Fix Version/s 2.0.3 [ 10537 ]
            skodak Petr Skoda made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 45856 ] MDL Full Workflow [ 93031 ]

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/May/11