Closed jasonwebb closed 4 years ago
In 3c74fc6, a new setting is now available: regionLabel
. Use it to provide custom text to use as the aria-label
value on the wrapper (default is 'carousel'
).
This setting can also be defined through the data attribute data-regionlabel
placed on the wrapper element used to initialize the Slick package.
Additional documentation is available in the main README in the New features and New settings sections.
role="region"
to the outermost wrapper.aria-label
to the wrapper.aria-label
configurable with a new setting.aria-label
effect in this use case.