,
This commit is contained in:
@@ -2560,29 +2560,6 @@ const SlideshowManager = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// case "ArrowDown":
|
|
||||||
// // Manually shift focus to the content below the slideshow
|
|
||||||
// const contentBelow = document.querySelector('.homeSectionsContainer');
|
|
||||||
// if (contentBelow) {
|
|
||||||
// const focusable = contentBelow.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
||||||
// if (focusable) {
|
|
||||||
// focusable.focus();
|
|
||||||
// e.preventDefault();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// break;
|
|
||||||
|
|
||||||
// case "ArrowUp":
|
|
||||||
// // Manually shift focus to the header (Search/User)
|
|
||||||
// const header = document.querySelector('.skinHeader');
|
|
||||||
// if (header) {
|
|
||||||
// const focusable = header.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
||||||
// if (focusable) {
|
|
||||||
// focusable.focus();
|
|
||||||
// e.preventDefault();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// break;
|
|
||||||
|
|
||||||
case " ": // Space bar
|
case " ": // Space bar
|
||||||
this.togglePause();
|
this.togglePause();
|
||||||
|
|||||||
Reference in New Issue
Block a user