label for comic nav

This commit is contained in:
mi
2025-11-14 18:59:13 +10:00
parent 660e4a516f
commit a0b9bb8bfb
2 changed files with 2 additions and 1 deletions

View File

@@ -179,6 +179,7 @@
if (currentNumber < totalComics) {
const link = document.createElement('a');
link.href = `/comic/${currentNumber + 1}`;
link.setAttribute('aria-label', 'Click to view next comic');
link.onclick = (e) => {
e.preventDefault();
loadComic(currentNumber + 1);