-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Dropdown: Combobox & Multiselect]: Focus state dev implementation #15698
Comments
Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team. |
@Kritvi-bhatia17 @laurenmrice is this a valid dev issue? We're not sure what the work here would be. |
Hi @tay1orjones, so we would be needing to update these changes in storybook as well. |
I believe the storybook has most of the changes highlighted in the "after" screenshots. @Kritvi-bhatia17 Could you double check the current storybook and outline the specific changes we need to make in the storybook (styling/stoke changes, etc)? |
Sure @tay1orjones, will do that! |
Hi @tay1orjones @tw15egan @sstrubberg @laurenmrice, I've made some updates to the issue and have included tasks under each category of dropdowns. |
Hi @tw15egan! As we discussed earlier, I've reached out to @mbgower to clarify a few things. Here are the points and insights I've gathered:
We can further discuss these points over a call to decide on the next steps for this issue, or if there's a need to create a new one. |
Yeah, and to explain the basic rationale here, it's not that removing the focus indicator from Option 1, as a result of mouse movement, is unequivocally WRONG. It's that splitting keyboard and mouse interaction like this is likely to result in issues not that apparent, and so easily compounded.
In other words, the visual effect to remove the keyboard focus has actually triggered a REAL change of focus. To a sighted user in this demo situation with a few items, this might seem merely a bit annoying. Imagine I've moved to the 30th position in the dropdown, move my mouse intentionally or unintentionally, and then try to act on the 30th item. My focus has returned to the top of the list. Not only may a user be very confused (especially if they have visual disability), but time on task has obviously taken a huge hit. Taking the focus indicator off the dropdown item does not inherently mean it has to lose focus, but it increases the likelihood that any issue will not being discovered. Alternatively, leaving the focus on the dropdown item makes it much more likely that until the focus is actually moved somewhere by the user, their point of interaction in the application is going to be maintained. |
Closes #768
The problem
We recently have updated downshift which has resulted in changes to our focus states with the new guidance of 1.2 combo box change.
The solution
Ref : Figma branch link
To update:
Dropdown
Dropdown - Combobox
Dropdown - Multi-select
The text was updated successfully, but these errors were encountered: