add option to isFocusable to take into account negative tabindex #3500
Labels
commons
Issues in the common code (lib/commons)
feat
New feature or enhancement
good first issue
For first-time contributors
pr
A pr has been created for the issue
The isFocusable function currently does not take into account negative tabindex (and for the default use case it shouldn't take into account negative tabindex). This causes us to pair the function call with a check on tabindex to ensure that the element is currently keyboard focusable and not programmatically focusable.
We should add an option to the function that enables looking for negative tabindex and changes the return to
false
for the element. Something likeprogrammatically: false
ornoNegativeTabindex: false
.The text was updated successfully, but these errors were encountered: