Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @andres01serrano

    I hope you’re well today!

    Those tooltips are browser feature and they are not added by Forminator. They are related to accessibility.

    By default, they are created based on the “title” attribute so to remove them (other than actually reconfiguring browser to not show them) you would need to set “title” attributes to be empty. That’s not really recommended due to SEO and accessibility reasons but if you want to do this, you can add this code as MU plugin to the site

    <?php 
    
    add_filter( 'forminator_field_single_markup', 'wpmu_remove_browser_tooltip_title', 99, 1 ); 
    function wpmu_remove_browser_tooltip_title( $html ) { 
    
    	$pattern = '/(<label[^>]*title=")(.*?)"/';
    	$replacement = '$1"';
    
    	$html = preg_replace($pattern, $replacement, $html);
    	
    	return $html;
    }
    

    – create an empty file with a .php extension (e.g. “forminator-radio-remove-tooltips.php”) in the “/wp-content/mu-plugins” folder of your site’s WordPress installation on the server

    – copy and paste that code into it

    – save the file and purge all cache on site/server (if there is any).

    It would remove those tooltips from “radio” fields.

    Best regards,
    Adam

    Thread Starter andres01serrano

    (@andres01serrano)

    Thanks for the answer, an additional question, will this only affect forminator?

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @andres01serrano

    Yes, it will only affect Forminator and only its “radio” fields.

    Best regards,
    Adam

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Delete help text’ is closed to new replies.