Skip to content

Commit

Permalink
feat (accessibility) : DEMO keyboard nav in console (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
codexarama committed May 27, 2021
1 parent bf460f9 commit 01f1ad1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/home_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ window.addEventListener('scroll', () => {
if (window.scrollY > 250) evitement.classList.add('scroll');
else evitement.classList.remove('scroll');
});

// DEMONSTRATION ACCESSIBLITE
// document.addEventListener('keydown', (KeyboardEvent) => {
// console.log(KeyboardEvent.key);
// });
5 changes: 5 additions & 0 deletions js/pro_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,8 @@ function fetchData() {
}

fetchData();

// DEMONSTRATION ACCESSIBLITE
// document.addEventListener('keydown', (KeyboardEvent) => {
// console.log(KeyboardEvent.key);
// });

0 comments on commit 01f1ad1

Please sign in to comment.