When should we use custom website controls?

Use native browser controls wherever they meet the interaction need, and choose custom controls only when you can preserve keyboard access and screen-reader compatibility. A design that is difficult to achieve with native elements is a reason to assess the alternatives carefully, not to set accessibility aside.

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

Personalization cookies
Analytics cookies