W3C home > Mailing lists > Public > wai-xtech@w3.org > February 2013

ARIA media player design pattern - Keyboard Control Proposal

From: Schnabel, Stefan <stefan.schnabel@sap.com>
Date: Mon, 18 Feb 2013 11:00:13 +0100
To: "wai-xtech@w3.org" <wai-xtech@w3.org>, "faulkner.steve@gmail.com" <faulkner.steve@gmail.com>, "Joseph Scheuhammer (clown.idi@gmail.com)" <clown.idi@gmail.com>
CC: "Keim, Oliver" <oliver.keim@sap.com>
Message-ID: <8EA44C66E2911C4AB21558F4720695DC60E0C8E9B3@DEWDFECCR01.wdf.sap.corp>
As discussed, proposal posted on wai-xtech@w3.org<mailto:wai-xtech@w3.org>

Regards,
Stefan + Oliver


Introduction

Media players are usually a complex control which offers various input and output elements. To control media players there are two typical implementations and sometimes a mixture of both:

1.    Focus-based approach: A media player consisting of a set of widgets where the widgets itself need to get focused  to control the media play.
2.    Non-focus-based approach: The player itself has a visual representation and has focus. All control functions are mapped onto the keyboard hotkeys, so there is no need to navigate on the components of the player.
3.    A mixture of both, the player representation has default focus and the focus can be moved to other widgets, but there is no need to if using direct hotkeys.

As video players often provide a full screen mode a non-focused based control mode is preferred.

Playback related functions
-     Play/Pause Toggle
-     Begin of Stream/End of Stream
-     Previous/Next Chapter (if any)
-     Increase/Decrease video playback position
-     Slow motion, half speed, full speed, etc.

Video output related functions
-     Cycle through or adjust aspect ratio modes (4x3, 16x9, 2.35x1, etc.)
-     Zooming video (to fit a letterboxed video output into a 16x9 display)
-     Window/Fullscreen Toggle
-     control the color settings (brightness, gamma, hue, saturation)
-     Cycle through captions/sub title tracks (if available)

Audio output related functions
-     Increase/Decrease audio volume
-     Mute Audio Toggle
-     Cycle through audio tracks (if available)

Additional functions
-     Open media files or volumes, eject media files or volumes
-     Show detail information about media stream (e.g. Media stream properties)
-     Add Bookmark(s) for the media file or positions inside a media file.
-     Capture frame(s)

A context menu should also give a pedagogic vector on the player's capabilities and grant access to those functions.

For details on media players, their functionality and their hotkey mappings refer to

-     Microsoft Windows Mediaplayer
-     VideoLan Client
-     WinAmp Player


Media Playback Key Proposals

Pause                   Space and/or p          Stop the playback of the media stream
Play                    Space and/or p          Start the playback of the media stream
IncreaseVolume          + (Plus Key)            Increase the volume level of the audio output
Beginning               Ctrl+Home               Move the playback to the beginning of the stream
End                     Ctrl+End                Move the playback to the end of the stream
NextChapter             PageDown                Move the playback to the next available chapter.
PreviousChapter         PageUp                  Move the playback to the previously available chapter.
Backward                Left                    Move playback to previous frames/gops
Fullscreen              Alt+Enter or Ctrl+i     Toggle keystroke to toggle the full screen display
DecreaseVolume          - (Minus Key)           Decrease the volume Level of the audio output
Mute                    m or Ctrl+m             Toggles the audio output
AspectRatio             r or Ctrl+r             Circle through the aspect ratio configurations, the use with Ctrl might open a dialog for selecting the aspect ration from a given list.
ClipContent             c or Ctrl+c             Circle though a list of clipping configurations, the use with Ctrl might open a dialog for selecting the clippings from a given list.
Preferences             Ctrl+, or Ctrl+p        Open the preferences of the media player control
Properties              Ctrl+i                  Open the properties window of the current video/audio stream
Forward                                                    Right                   Advance playback forward to next frames/Gops


From: Steve Faulkner [mailto:faulkner.steve@gmail.com<mailto:faulkner.steve@gmail.com>]
Sent: Mittwoch, 6. Februar 2013 12:01
To: W3C WAI-XTECH
Cc: Joseph Scheuhammer
Subject: ARIA media player design pattern

Hi Joseph,

in the current editors draft of the authoring practices spec [1] the advice on the media player widget is absent any timeline on this being populated?


[1] http://www.w3.org/WAI/PF/aria-practices/#mediaplayer

--
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com<http://www.paciellogroup.com> | www.HTML5accessibility.com<http://www.HTML5accessibility.com> | www.twitter.com/stevefaulkner<http://www.twitter.com/stevefaulkner>
HTML5: Techniques for providing useful text alternatives - dev.w3.org/html5/alt-techniques/<http://dev.w3.org/html5/alt-techniques/>
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
<http://www.paciellogroup.com/resources/wat-ie-about.html>



--
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com<http://www.paciellogroup.com> | www.HTML5accessibility.com<http://www.HTML5accessibility.com> | www.twitter.com/stevefaulkner<http://www.twitter.com/stevefaulkner>
HTML5: Techniques for providing useful text alternatives - dev.w3.org/html5/alt-techniques/<http://dev.w3.org/html5/alt-techniques/>
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
<http://www.paciellogroup.com/resources/wat-ie-about.html>
Received on Monday, 18 February 2013 10:01:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:51:47 UTC