-
Notifications
You must be signed in to change notification settings - Fork 47
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
Display Palette category content using keyboard #1714
Display Palette category content using keyboard #1714
Conversation
Signed-off-by: srikant <[email protected]>
Hi @srikant-ch5 Looks like there is a failure in one of the Cypress test. |
…rd click Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…lick to open Signed-off-by: srikant <[email protected]>
Hi @tomlyn Thanks for the review. I have updated PR with a fix in which the functionality is working fine as expected. As per Cypress test AssertionError: Timed out retrying after 4000ms: Expected to find element: |
Hi @tomlyn Please review this PR. I have fixed Cypress test cases which were failing due to code changes. |
Signed-off-by: srikant <[email protected]>
With this being a carbon control shouldn't this already be fully accessible? I wouldn't want to do anything special for this. btw, we'd have this same problem in common-properties. |
Hi @matthoward366 Accordion implementation in Palette is different as content is dynamically loaded based on Accordion Title Obj Click and as per description here https://github.com/elyra-ai/canvas/blob/bb63e21cffecb6a73d1ba7d72 35416d22a2c06cc/canvas_modules/common-canvas/src/palette/palette-flyout-content-category.jsx#L184 so when we tab and click space action is triggered on AccordionItem and not on above TitleObj . I have tested tabbing in Common Properties Accordion #1648 and it is working fine. Screen.Recording.2024-02-28.at.11.19.24.AM.mov |
Those links don't work for me. Is there a reason they are implemented differently? Should we change something with the implementation rather then workaround the issue? |
Hi @matthoward366 here is the link for description regarding implementation canvas/canvas_modules/common-canvas/src/palette/palette-flyout-content-category.jsx Line 172 in 9864601
|
So the issue here is returning |
I've played with this quite a lot today and can't see why the flash of the icons occurs when rendering the open category. I don't think using uniquifyIDs will help because the same thing happens when displaying non-SVG icons. I wonder if its a bug in the Carbon code and, who knows, might be fixed in Carbon v11. Anyway, this fix is reasonable given the way we are calling the Accordion. |
Ref: #1713
Developer's Certificate of Origin 1.1