1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Slider controls visual only?

Discussion in 'Free Divi Community Forum' started by chris r, Nov 4, 2019.

  1. chris r

    chris r Member

    Hi,

    Is it possible to enable the Divi slider controls, but use them only as visual indicators and not links? We'd like the user to be able to see the controls as they use the arrows to navigate through the slider, but because of accessibility issues, we don't want them to be able to click on the bottom controls as links.

    Any ideas welcome, thanks!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade team carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. chris r

    chris r Member

    That 'mostly' worked. The bottom controller links are no longer clickable which is great. However, if I use the keyboard to tab over the page, focus still lands on those controllers which is a problem for accessibility. Those users will still think they are links.

    I've used jquery before for Divi to make accessibility changes which have been successful and I'd like to do the same here. However, in this case, jquery code under Theme Options/Integration gets overridden because there's a Divi script that runs after this towards the end of the page that builds out the controller in the DOM:

    <script type='text/javascript' src='https://express.northeastern.edu/ex...cripts/frontend-builder-scripts.js?ver=3.21.4'>

    Is there any way to enqueue jquery/javascript updates after this Divi script runs?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gallery carousel design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    You will need to use jQuery to add taxindex attribute to the bottom controller: https://stackoverflow.com/questions...ite-element-when-navigating-using-the-tab-key
    Not sure about this. You may want to refer official Divi support about it: https://www.elegantthemes.com/members-area/help/
     
  5. chris r

    chris r Member

    Thanks, I have the tabindex code ready. It's just that the Divi script isn't building out those slider elements until after my jquery script runs. Will contact support, thanks.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More