elem.setAttribute('tabindex', '2'); -- or -- elem.tabIndex = 2;
<calcite-dropdown-item tabindex="0" ... calcite-hydrated="">
Hi @GregoryBologna, We don't support user-defined tabindex on components at this time. However, there is an open issue to allow setting a tabindex of "-1" to calcite-button.
As for setting tabindex's above 0, it is not a recommended practice with Calcite for accessibility as it can create maintainability problems and unexpected user behavior. Additional background on tabindex is available on mdn's site.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.