Are there any plans or patterns to do custom :focus states?
We sometimes see weird stuff with browser default focus outline.
Of course, we would want to retain accessibility.
I know there's stuff like outliner.js and stuff like that.
cc @driskull @jcfranco
Yeah, @macandcheese and I talked about this a bit. Because these styles are scoped to the component, it is totally possible to define custom styles for each component. Probably a shared variable or mixin would be the best like @include focus-outline()
(╭ರᴥ•́)
I like it.
I'm guessing a buncha designs would help this along.
cc @oknoway
@bstifle do you have a set of designs for focus states library-wide? If we can get away with a single custom focus style everywhere that would be better, but we could also do one-off focus styles for every element as long as they're visually cohesive.
cc @asangma and Mitch as well re: our conversation yesterday
Just to note, there is an open issue related to this in the arcgis-components Share dialog.
@asangma did you all have any thoughts here?



@asangma @julio8a @paulcpederson @macandcheese
Here is the latest update based on a few meetings and talks with folks. See the Rules png pasted here.
Next steps will be getting a more high fidelity demo, and then testing.
After that, Ideally we will test 2 designs. A) Being the styles shown here and B) being an even more super noticeable color way (black and white instead of blue)
There's 3 main things we are trying to solve with this design, weighted by importance:
Looks good!
Nice!

moving this convo over at calcite-base https://github.com/Esri/calcite-base/issues/19
Most helpful comment
@asangma @julio8a @paulcpederson @macandcheese
Here is the latest update based on a few meetings and talks with folks. See the Rules png pasted here.
Next steps will be getting a more high fidelity demo, and then testing.
After that, Ideally we will test 2 designs. A) Being the styles shown here and B) being an even more super noticeable color way (black and white instead of blue)