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

Tables creation with keyboard accessibility #6765

Closed
11 tasks
dpavez14 opened this issue May 8, 2020 · 2 comments
Closed
11 tasks

Tables creation with keyboard accessibility #6765

dpavez14 opened this issue May 8, 2020 · 2 comments
Labels
domain:accessibility This issue reports an accessibility problem. domain:ui/ux This issue reports a problem related to UI or UX. package:table resolution:duplicate This issue is a duplicate of another issue and was merged into it.

Comments

@dpavez14
Copy link

dpavez14 commented May 8, 2020

📝 Provide a description of the improvement

Currently, it's not possible to create a table using only the keyboard.
When you open the table dropdown, there isn't any keystroke associated to change the number of rows and columns, so it's not possible to make a table using just the keyboard.

✔️ Expected behavior

Open the dropdown and be able to:

  • Increase the number of rows with the "arrow down" key.
  • Decrease the number of rows with the "arrow up" key.
  • Increase the number of columns with the "arrow right" key.
    • (on RTL it should decrease).
  • Decrease the number of columns with the "arrow left" key.
    • (on RTL it should increase).
  • Press "enter" to add the table.
    • Move the focus inside the table.
  • Press "escape" to discard the creation of the table
    • Keep on the toolbar.
  • This functionality and each change (eg. "2 rows, 3 rows, 5 columns") should be announced with ARIA.

Another option could be to use some spinner (for rows and columns) to specify the numbers on the input box (similar to AlloyEditor)

imagen

📃 Other details

@jodator jodator added domain:ui/ux This issue reports a problem related to UI or UX. package:table labels May 8, 2020
@Reinmar
Copy link
Member

Reinmar commented May 8, 2020

cc @oleq

@oleq
Copy link
Member

oleq commented May 8, 2020

This is a DUP of #3176.

@oleq oleq closed this as completed May 8, 2020
@oleq oleq added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label May 8, 2020
@Reinmar Reinmar added the domain:accessibility This issue reports an accessibility problem. label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:accessibility This issue reports an accessibility problem. domain:ui/ux This issue reports a problem related to UI or UX. package:table resolution:duplicate This issue is a duplicate of another issue and was merged into it.
Projects
None yet
Development

No branches or pull requests

4 participants