first part of keyboard navigation for libraries