Styling and accessibility are often at odds with each other. Scott O’Hara has this repo that shows how the two can work really well together in the context of form controls.
The trade-offs between native and styled controls reminds me of Eric Bailey’s case study on focus styles:
A common misconception is that the focus style can only use the outline property. It’s worth noting that
:focus is a selector like any other, meaning that it accepts the full …
The post Short note on the accessibility of styled form controls appeared first on CSS-Tricks.