keyboard nav index and snippet