You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After clicking on data series a persistent focus state get applied to the latest one clicked. The result of this is a little misleading and I would suggest to avoid it when clicking leaving the focus state for keyboard navigation.
@MichaelMarcialis any suggestion or idea if we deal with something similar in EUI?
Hey, @gvnmagni! Based on your example, it looks like that styling is being applied on :focus of the legend item, instead of :focus-visible. By switching to :focus-visible, that should make it so the focus styles only show when necessary. In this case, that means this style would no longer be shown on click, but would show if the user attempts keyboard focus.
Also, I would recommend something like the following styles for the various states of the legend items (for consistency with EUI and better indication as to the individual clickable areas).
After clicking on data series a persistent focus state get applied to the latest one clicked. The result of this is a little misleading and I would suggest to avoid it when clicking leaving the focus state for keyboard navigation.
@MichaelMarcialis any suggestion or idea if we deal with something similar in EUI?
@markov00 identified where this behavior has been introduced: #880 (review)
The text was updated successfully, but these errors were encountered: