rob-balfre / svelte-select

Svelte Select. A select component for Svelte
https://svelte-select-examples.vercel.app
Other
1.25k stars 175 forks source link

When using the required props, the keyboard focus is going to the select #578

Closed Ennoriel closed 1 year ago

Ennoriel commented 1 year ago

Hi

When using the required props, a select is added to the DOM in order to have the html native validation which is nice! However the select is focusable and should probable not.

Here is a REPL showing it.

I don't know if it's as simple as adding a tabindex="0" or if it should also have aria-hidden

rob-balfre commented 1 year ago

Thanks for finding that! Fixed 5.5.3