Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with Block Actions from the keyboard #705

Closed
5 tasks
neSpecc opened this issue Apr 9, 2019 · 0 comments
Closed
5 tasks

Working with Block Actions from the keyboard #705

neSpecc opened this issue Apr 9, 2019 · 0 comments
Assignees

Comments

@neSpecc
Copy link
Member

neSpecc commented Apr 9, 2019

  • When Tab is pressed in non-empty block, open Block Tunes Pane and set focus on the first active element
  • Create blockTunesButtons getter that would find available elements by api.styles.settingsButton selector and [clickable] attribute for those, who want to use own classes. Also, find editable elements with utils/dom/canSetCaret method. It should find element both at the tool settings zone and at the default settings zone.
  • When Block Tunes are opened, by Tab leaf focused button
  • When one of Block Tunes buttons is focused, by Enter fire click on this tune if it is button, or set caret if it is an editable element (input).
  • When Block Tunes are opened, by Escape close Block tunes and highlight current block to allow to continue working with keyboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants