ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

Shift-tabbing into KeyNav container from browser address bar broken #519

Closed wkeese closed 4 years ago

wkeese commented 4 years ago

If a KeyNav container is the last tab-navigable element on the page, then shift-tabbing from the browser address bar will end up on the last tab-navigable element in the KeyNav container, rather than the first one or the previously focused element.

Partly this is due to KeyNav#_tabKeyPressed not being set in this case, and partly due to KeyNav containing a bunch of tabindex=0 nodes rather than tabindex=-1. For tables created with deliteful/List, that statement applies to both the tab-navigable cells as well as tab-navigable components within the cells.