Hi Mike,
thanks for asking and glad to help. Could you share here what code are you
using?
tabIndex is supported at StyledUIBase level [1], and you just need to do:
tabIndex = 0;
or you can always access in JS like this (if you use a UIBase instead):
element.setAttribute('tabindex', -1);
There's some example of use through Jewel library.
Maybe your problem is related to your specific use and so we need you need
to isolate your code problem
in order to help you.
Thanks
[1]
https://royale.apache.org/asdoc/index.html#!org.apache.royale.core/StyledUIBase/tabIndex
El mar., 25 ago. 2020 a las 17:05, MikeH
(<[email protected]>) escribió:
> Hi, im trying to set tab navigation on a Royale application by adding the
> tabIndex property on components but when I compile it throws an error (This
> attribute is unexpected. It will be ignored.). I need to enable keyboard
> navigation on my application for accessibility.
>
> The components are Jewel components.
>
> Im using version 0.97.
>
> Thanks for your help.
>
> Mike
>
>
>
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
>
--
Carlos Rovira
http://about.me/carlosrovira