You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tabs with autoselect=false has LAST tab as default tab-stop #6392
A Tabs component with autoselect disabled (so that no tab is selected by default), sets tabindex="0" on the last tab by default for some reason, which is quite confusing for any user and probably especially problematic for screen reader users.
The reason is that Tabs are using setSelectedIndex(-1); in the constructor and with autoselect set to false, this doesn't get changed. Actually, the issue can also be reproduced in the web component using following code example:
Activity
web-padawan commentedon Jul 19, 2024
The reason is that
Tabsare usingsetSelectedIndex(-1);in the constructor and withautoselectset tofalse, this doesn't get changed. Actually, the issue can also be reproduced in the web component using following code example:Same issue affects
vaadin-list-boxas the problematic code is inListMixin.