Skip to content

amp-selector: optionally support (left/right)|(up/down) keyboard support for options #8613

@aghassemi

Description

@aghassemi

Add keyboard-support with three modes:

  1. none: No left/right key support.
  2. focus (default): It only focuses the option when user navigates to it using left/right keys.
  3. select: It selects the option when user navigates to it using left/right keys.

Other requirements:
Needs to cycle through options when reaching the end.

Also See ampproject/amp-by-example#697 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions