Lead: Liav Nadler ONGOING
Related Pages: Data Tables
Description
A dynamic table is a type of data table, allowing users to add, delete and reorder rows
Usage & Behaviour
Structure
The table may be similar to a data table, including a header row and an action column
The action column contains a delete option
In addition, the dynamic table has a unique toolbar, including three icons:
Add new row
Move up
Move down
If no row is selected, the move up and move down options are disabled
If the top row is selected, the move up option is disabled
if the bottom row is selected, the move down option is disabled
Interaction
Clicking the Add New Row icon creates a new row under the header row in editing mode
Clicking the Move Up icon replaces the selected row with the row above it
Clicking the Move Down icon replaces the selected row with the row below it
Zero State
Accessibility compliance
<<In general each component should be A11y complied, please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3>>
Focus management
<<How will the component work with keyboard only - without a mouse. Can be reference if written above
We already set a general guidelines described in /wiki/spaces/UX/pages/308969693 >>
Screen reader support
<<Make sure the components support screen reader for content or behaviour where needed - see /wiki/spaces/UX/pages/308248620 >>
Contrast & size compliance
<<Visual designers must comply with the minimal of /wiki/spaces/UX/pages/301498483 for each component>>
Design
Zeplin link | Screen thumbnail |
---|---|
<<Short Zeplin link. You | <<Screen with 200 width>> |
Code
<<a box containing the code - discuss with Femi>>