Issue with Carousel on PageSpeed
-
Hi,
I’m seeing a new Agentic Browsing → Agent Accessibility error in Google PageSpeed Insights/Lighthouse on my WordPress site.
The error is:
Accessibility tree is not well-formed
ARIA role should be appropriate for the elementThe failing element is a Kadence carousel slide using:
<li class="kb-slide-item kb-gallery-carousel-item splide__slide is-visible is-active" role="tabpanel" aria-roledescription="slide" aria-label="2 of 23">The carousel is generated by Kadence Blocks and uses Splide.
Interestingly, I have two different Kadence carousels on the same website.
One carousel is flagged by Lighthouse, while another carousel using very similar Kadence/Splide markup is not flagged.
The flagged carousel uses the Kadence background slider:
kt-blocks-carousel kb-blocks-bg-sliderIts slides contain:
<li class="splide__slide kb-bg-slide-contain" role="tabpanel" aria-roledescription="slide" aria-label="1 of 5">The other carousel is a Kadence Advanced Gallery carousel:
kb-gallery-type-carouseland uses:
<li class="kb-slide-item kb-gallery-carousel-item splide__slide" role="tabpanel" aria-roledescription="slide" aria-label="17 of 23">Both are functioning correctly visually and are accessible to normal users, but Lighthouse’s newer Agentic Browsingaudit is flagging one of them.
I’ve already updated WordPress, the Kadence theme, and plugins, but the warning remains.
Is this a known issue with the current Kadence/Splide carousel implementation, or is there a recommended way to resolve the ARIA role issue?
I’m particularly interested in whether this is something that should be fixed within Kadence itself rather than adding custom JavaScript or modifying the generated carousel markup.
Thanks!
You must be logged in to reply to this topic.
