From Andrew Macpherson

I also looked at the webform_shortcuts module, for WCAG 2.1 "character key shortcuts"

Good: they don't use single characters, they use the control modifier key. That technically passes "character key shortcuts" I think.

Not so good: these shortcuts are hardcoded. They may clash with shortcuts from browser addons, or even other contrib modules.

Maybe there could be a way for individual users to disable these shortcuts?

Tasks

  • Add webform_shortcuts.settings.yml
  • Add schema
  • Add Shortcuts via form alter hook to advanced settings
  • Add use Drupal setting to pass custom shortcuts to JavaScript.
  • Update JavaScript.
CommentFileSizeAuthor
#9 3040822-9.patch14.6 KBjrockowitz
#6 3040822-5.patch11.34 KBjrockowitz

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Issue summary: View changes

jrockowitz’s picture

  • jrockowitz committed b953d92 on 3040822-shortcuts
    Issue #3040822: Allow webform keyboard shortcuts to be customized or...
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new11.34 KB

  • jrockowitz committed b953d92 on 3040822-shortcuts
    Issue #3040822: Allow webform keyboard shortcuts to be customized or...

  • jrockowitz committed 529543b on 3040822-shortcuts
    Issue #3040822: Allow webform keyboard shortcuts to be customized or...
jrockowitz’s picture

StatusFileSize
new14.6 KB

  • jrockowitz committed be69e68 on 8.x-5.x
    Issue #3040822 by jrockowitz, andrewmacpherson: Allow webform keyboard...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.