Treat native behaviour as part of the design value
Native browser controls provide behaviour worth preserving, not just an appearance to work around. A native HTML
Sources: Designing and developing web experiences for everyone
Use native browser controls when they fit the interaction, and choose custom controls only when the design need justifies taking responsibility for their accessible behaviour. Before using a custom control, validate that people can operate it with a keyboard and that screen readers recognise it.
Native browser controls provide behaviour worth preserving, not just an appearance to work around. A native HTML
Sources: Designing and developing web experiences for everyone