UNPKG

1.04 kBTypeScriptView Raw
1export interface A11yMethods {}
2
3export interface A11yEvents {}
4
5export interface A11yOptions {
6 /**
7 * Enables A11y
8 *
9 * @default true
10 */
11 enabled?: boolean;
12
13 /**
14 * Message for screen readers for previous button
15 *
16 * @default 'Previous slide'
17 */
18 prevSlideMessage?: string;
19
20 /**
21 * Message for screen readers for next button
22 *
23 * @default 'Next slide'
24 */
25 nextSlideMessage?: string;
26
27 /**
28 * Message for screen readers for previous button when swiper is on first slide
29 *
30 * @default 'This is the first slide'
31 */
32 firstSlideMessage?: string;
33
34 /**
35 * Message for screen readers for previous button when swiper is on last slide
36 *
37 * @default 'This is the last slide'
38 */
39 lastSlideMessage?: string;
40
41 /**
42 * Message for screen readers for single pagination bullet
43 *
44 * @default 'Go to slide {{index}}'
45 */
46 paginationBulletMessage?: string;
47
48 /**
49 * CSS class name of a11 notification
50 *
51 * @default 'swiper-notification'
52 */
53 notificationClass?: string;
54}