updating render bullet for screen readers compatibility
This commit is contained in:
parent
60adb8859a
commit
58c83ab508
|
|
@ -41,7 +41,9 @@ function initiateSwiper() {
|
|||
const ariaLabel = cardThematiques[index].getAttribute("data-taxonomy");
|
||||
|
||||
// return `<button class="${className}" aria-label="${ariaLabel}"></button>`;
|
||||
return `<div class="${className}" test tabindex="-1" aria-label="Aller à la slide ${index}"></div>`;
|
||||
return `<button class="${className}" tabindex="-1" aria-label="${
|
||||
textTranslations.showThematiques
|
||||
} ${index + 1} ${textTranslations.to} ${index + 3}"></button>`;
|
||||
},
|
||||
},
|
||||
breakpoints: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user