updating slider accessibility
This commit is contained in:
parent
89052b172e
commit
d436b813c6
|
|
@ -40,8 +40,7 @@ function initiateSwiper() {
|
|||
renderBullet: function (index, className) {
|
||||
const ariaLabel = cardThematiques[index].getAttribute("data-taxonomy");
|
||||
|
||||
// return `<button class="${className}" aria-label="${ariaLabel}"></button>`;
|
||||
return `<button class="${className}" tabindex="-1" aria-label="${
|
||||
return `<button class="${className}" tabindex="-1" aria-hidden="true" aria-label="${
|
||||
textTranslations.showThematiques
|
||||
} ${index + 1} ${textTranslations.to} ${index + 3}"></button>`;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user