• Resolved Justin Graham

    (@justin-graham)


    WP admin WCAG compliance. The Tour modals do not announce to assistive technologies, nor do they trap focus.

    Is there a way to add trap focus the tour modules or complete disable the tour option from showing for specific user roles?

    The Tour option recently (Jun 2023) showed up for new features in WooCommerce Analytics.

    Once you go through the Tour once, then the tour option is not shown to the user again. There is no way to reactivate the tour option to test the tour for WCAG compliance.

    Just like other plugin/code that disable WordPress admin notifications – is there a way to hide “TOUR” for specific users roles or completely hide altogether with a code snippet.

    I Googled but could not find anything on this subject.

    Assistance required – thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support katerinaz – a11n

    (@katerinaz)

    Hey there @justin-graham !
    Thank you for bringing this to our attention!
    Hmmm… We are consulting with our developers about this and will get back to you!
    Thank you for your patience!

    Plugin Author Barry

    (@barryhughes-1)

    Circling back to this one … here is a short snippet of code that will hopefully reactivate the tour, to enable further testing:

    update_option( 'woocommerce_orders_report_date_tour_shown' , 'no' );
    update_option( 'woocommerce_revenue_report_date_tour_shown' , 'no' );

    There are various ways to run this, including via a tool such as Code Snippets. Alternatively, if you have access to WP CLI, you might do:

    wp option update woocommerce_orders_report_date_tour_shown no

    And:

    wp option update woocommerce_revenue_report_date_tour_shown no

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress / Woocommerce – Disable Tours’ is closed to new replies.