Jemt / Fit.UI

Fit.UI is a JavaScript based UI framework built on Object Oriented principles
http://fitui.org
GNU Lesser General Public License v3.0
19 stars 7 forks source link

Potential incorrect use of tabIndex #110

Open FlowIT-JIT opened 3 years ago

FlowIT-JIT commented 3 years ago

We use tabIndex = -1 to make sure an element does not receive focus when navigating using TAB and SHIFT+TAB. However, some elements are temporarily made focusable to prevent the control from losing focus in some situations, and in that case removing tabindex completely makes more sense than assigning a value of -1 which does take it out of tab flow, but the element remains focusable, which may not be desirable. Investigate! Search (using RegEx) for: tabindex.*\s.*=.*\s.*-1

image

FlowIT-JIT commented 3 years ago

See comments regarding tabindex in #6

EDIT: The relevant section from issue 6 is pasted below:

Note to self: Remember that tab flow is tricky!