Update keyboard navigation to use data attributes instead of classes.
Cleanup imports.
Minor reformat.