remove useless test on tabIndex value.