-
Notifications
You must be signed in to change notification settings - Fork 487
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
Improvements for the ClayPanel component #5624
Comments
Yeah, I think it's possible! not sure if this conflicts with the new accessibility menu rule that this will be activated by the user with focus visible. Thoughts @ethib137 @marcoscv-work
cc @pat270 |
@matuzalemsteles yeah, no problem on removing focus for mouse interaction. that's something Lexicon always wanted and we can apply as much as possible. |
I think the questions we need to be asking are the following:
From the discussion thus far it sounds like we are proposing the following:
|
I think for this question @veroglez is speaking about, we need to use focus-visible-only (only for keyboard). we already had this DXP component working in this way in portal and they are trying to use the clay component so for this case I think is clear. From a design perspective we can use always focus-visible-only. since our interactive components should have always Speaking about accessibility menu: We have components that are showing the focus sometimes with mouse interactions. Lexicon dint wanted this but it was a initial technical limitation, it's something understandable, we all know that adding c-inner for all clay components/DXP components/taglibs/custom markup, etc.. would be a complex task, for that reason we were looking for a way to completely deactivate this effect. If now we can do it focus-visible-only (only for keyboard) globally without the need of use c-inner, I would go for that as a default value in DXP and I would redefine the accessibility menu option, we could change it of just remove it. |
I think this comes back into the discussion about this in the implementation of PR #5006. |
Hi guys!
From the Echo team we are replacing all our Collapses with ClayPanel component, and doing this migration several questions have arisen:
When an item is clicked a focus appears, could we implement
c-inner
so that the focus only appears when the element is focused?Also, we have also noticed that the styles are not the same as those defined in Lexicon for this component (see the following images). Is it possible to implement them?
Current style
Styles defined by Lexicon
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: