Skip to content

Improve support for WCAG 2.1 SC 2.1.4 #408

Closed

Description

@terrill

In order to meet Success Criterion 2.1.4 Character Key Shortcuts, at least one of the following must be true:

  1. Turn off - A mechanism is available to turn the shortcut off;
  2. Remap - A mechanism is available to remap the shortcut to use one or more non-printable keyboard characters (e.g. Ctrl, Alt, etc);
  3. Active only on focus - The keyboard shortcut for a user interface component is only active when that component has focus.

Able Player already has support for the second item (Remap). However, I think we should add a checkbox to the Keyboard Preferences dialog to "Turn off keyboard shortcuts".

Also, currently the spacebar toggles play/pause, even when the player doesn't have focus. Page-wide support for keyboard shortcuts should be limited to the keys (letters and numbers), which have accompanying modifier keys assigned within the Keyboard Preferences dialog. Browsers natively support scrolling when users press the spacebar, so we shouldn't override that behavior unless the player has focus.

Activity

  1. self-assigned this
    on Feb 23, 2020
  2. removed their assignment
    on Apr 27, 2025
  3. added this to the 4.8 milestone on Aug 4, 2025
  4. joedolson commented on Dec 31, 2025

    @joedolson
    Member

    Global support for the spacebar to play/pause was removed in 98c8902, committed the same day this issue was created.

  5. added a commit that references this issue on Dec 31, 2025
    3847046
  6. joedolson commented on Dec 31, 2025

    @joedolson
    Member

    Fixed by 3847046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions