1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- export interface A11yMethods {}
- export interface A11yEvents {}
- export interface A11yOptions {
- /**
- * Enables A11y
- *
- * @default true
- */
- enabled?: boolean;
- /**
- * Message for screen readers for previous button
- *
- * @default 'Previous slide'
- */
- prevSlideMessage?: string;
- /**
- * Message for screen readers for next button
- *
- * @default 'Next slide'
- */
- nextSlideMessage?: string;
- /**
- * Message for screen readers for previous button when swiper is on first slide
- *
- * @default 'This is the first slide'
- */
- firstSlideMessage?: string;
- /**
- * Message for screen readers for next button when swiper is on last slide
- *
- * @default 'This is the last slide'
- */
- lastSlideMessage?: string;
- /**
- * Message for screen readers for single pagination bullet
- *
- * @default 'Go to slide {{index}}'
- */
- paginationBulletMessage?: string;
- /**
- * CSS class name of A11y notification
- *
- * @default 'swiper-notification'
- */
- notificationClass?: string;
- /**
- * Message for screen readers for outer swiper container
- *
- * @default null
- */
- containerMessage?: string | null;
- /**
- * Message for screen readers describing the role of outer swiper container
- *
- * @default null
- */
- containerRoleDescriptionMessage?: string | null;
- /**
- * Message for screen readers describing the role of slide element
- *
- * @default null
- */
- itemRoleDescriptionMessage?: string | null;
- /**
- * Message for screen readers describing the label of slide element
- *
- * @default '{{index}} / {{slidesLength}}'
- */
- slideLabelMessage?: string;
- /**
- * Value of swiper slide `role` attribute
- *
- * @default 'group'
- */
- slideRole?: string;
- }
|