From 8e66ba76e0e6310b7bd6e823f26705f975423d20 Mon Sep 17 00:00:00 2001 From: xiongmao86 Date: Sat, 22 Apr 2023 11:16:22 +0800 Subject: [PATCH] Add description for aria-labels in carousel --- packages/docs/locales/en.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/docs/locales/en.json b/packages/docs/locales/en.json index 3cd8f40d4de..c303dca4338 100644 --- a/packages/docs/locales/en.json +++ b/packages/docs/locales/en.json @@ -1425,7 +1425,12 @@ "fadeKeyframe": "Custom keyframe name for fade animation", "swipable": "Enables swiping behavior.", "swipeDirection": "Allowed directions for swiping: `all, horizontal, vertical, left, right, up, down`.", - "swipeDistance": "Distance in `px` considered sufficient for the swipe event." + "swipeDistance": "Distance in `px` considered sufficient for the swipe event.", + "ariaLabel": "The aria-label of carousel.", + "ariaGoToSlideLabel": "The aria-label of go to slide button.", + "ariaNextLabel": "The aria-label of next button.", + "ariaPreviousLabel": "The aria-label of previous button.", + "ariaSlideOfLabel": "The aria-label of the slide." }, "events": {}, "methods": {},