add fix and test for when widget doesn't declare tabIndex property