-
Hey all, Following up to this discussion from a bit ago: #3188 We're working with design partners on migrating this same component to paste, and had a couple of follow up questions regarding the structure and behavior. There are two interactions that I'm not sure are structured within datagrid, and am wondering if there are opinions on either redesign or implementing the components ourselves. Taking a look at the following: The Tracking plan editor is a nested collection of events and their properties. Properties can be nested Two questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @jalexy12 - sorry for the delayed response. Chatting with the team and we'll answer these questions shortly! |
Beta Was this translation helpful? Give feedback.
-
@jalexy12 - the collapsible/nested Data Grid rows don't currently exist in Paste, but you can build an almost fully accessible version using existing components. Our guidance would be to add a first column to the Data Grid which houses the buttons to expand the expandable rows. It'll be important to communicate the hierarchy of each row and nested row using aria attributes, as simply adding left padding doesn't achieve that clearly for screen readers and other assistive technologies. Be sure to follow the Treegrid Pattern, adhering to the aria attributes and keyboard navigation rules as closely as possible.
Here's a helpful treegrid example that can be used as reference and to further understand how these attributes are applied. Feel free to share what you've built in this thread or sign up for Office Hours to have it reviewed by the DSYS team. |
Beta Was this translation helpful? Give feedback.
@jalexy12 - the collapsible/nested Data Grid rows don't currently exist in Paste, but you can build an almost fully accessible version using existing components. Our guidance would be to add a first column to the Data Grid which houses the buttons to expand the expandable rows. It'll be important to communicate the hierarchy of each row and nested row using aria attributes, as simply adding left padding doesn't achieve that clearly for screen readers and other assistive technologies. Be sure to follow the Treegrid Pattern, adhering to the aria attributes and keyboard navigation rules as closely as possible.
role="treegrid"
on the Data Grid Note: we don't currently allow you to override t…