Treat built-in behaviour as part of the decision
Choosing a custom control means taking responsibility for behaviour that a native browser element would otherwise provide. A native
Before choosing a custom approach, establish whether the native element meets the interaction need and whether the replacement can preserve accessible operation. Smashing Magazine explained in 2025 that native HTML elements are preferable when they fit the interaction because ARIA changes announced semantics but does not supply keyboard behaviour or other functionality. WebAIM reported in 2026 that 22% of detected ARIA menus on leading website home pages globally introduced accessibility barriers through missing required menu markup or interactions.
Treat the intended appearance and the control's accessible behaviour as a single design decision.
Sources: Designing and developing web experiences for everyone