Compartilhar via


AmbientAttributes.accKeyboardShortcut

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The accKeyboardShortcut attribute specifies or retrieves a keyboard shortcut description for any element.

        elementID.accKeyboardShortcut

Possible Values

This attribute is a read/write String with a default value of "" (empty string). For the BUTTON element, this attribute has a default value of "Spacebar or Enter". For the SLIDER element, the default value is "Right/Up Arrow to increase, Left/Down Arrow to decrease".

Remarks

This attribute is used for accessibility purposes. It allows a description of the keyboard shortcut for any element to be read aloud by a reader program. This attribute does not set the shortcut. The scripter must do that work.

This attribute also applies to button elements inside the button group control.

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later

See also

Ambient Attributes