Skip to content

RouninMedia/TabTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

TabTrack

TabTrack is a super-simple JavaScript function for tracking which element currently has focus, while tabbing through elements on a web page

TabTrack

window.addEventListener('keyup', (e) => {

  if (e.key === 'Tab') {

    console.info('Current Tab Focus: ', document.activeElement);
  }
});

About

TabTrack is a super-simple JavaScript function for tracking which element currently has focus, while tabbing through elements on a web page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published