• Resolved norbou

    (@norbou)


    Hello, I have read the whole description of the plugin, but it is not clear to me whether the plugin actually writes its guessed values to the database for alt texts or has its own table or works in “on the fly” mode. I would like to be able to retroactively see which images have manual and which have automatic alt text and be able to revert to the original state.
    My original idea was to automatically add “illustration image” text for thumbnail images only.
    I’ve done all the important captions manually on the site, but I don’t have the capacity and motivation to do that in a photo gallery, for example. I would like to add that according to WCAG the alt texts on the page should not be identical, which I don’t know how your plugin could solve. Those WCAG criteria are really self-deprecating, and unless the content is important also for the visually impaired, it only makes sense for that SERP.

    King regards,
    Jiri

Viewing 1 replies (of 1 total)
  • Plugin Author Sajjad Ali

    (@the-rock)

    Hello @norbou

    Thanks for the message. Let me explain how BIALTY works.

    1. BIALTY works “on the fly” mode based on your settings. There is no entry in the database for alt texts.

    2. As you can see on the Settings page, there are 2 major settings. Replacing Missing Alts and Replace Defined Alts. So if you have several pages where you have set alt text manually, you can simply “disable” Bialty for Defined alt tags, and your manually entered data will preserve. If you have just a few pages with manual alt tags, you can disable Bialty locally on those pages only from Meta Box.

    3. Please note that Bialty currently supports only Posts, Pages, and Woocommerce Products (pro version). So if your gallery is a custom post type then it will not work automatically. We have a plan to include Custom Post Types (hopefully in the next update).

    4. BIALTY uses WordPress “the_content” filter to replace alt tags on the fly. If your images are not inside the “the_content” filter, Bialty will not replace/change alt tags. For example, if you’re using a third-party Gallery plugin that isn’t using the_content filter. In this case, you will have to check with the Plugin developer if it can support a custom filter. If yes, then it’s easy to use Bialty by adding this code line in your theme functions.php file.

    if ( class_exists('Bialty') ) {
        $dom = new \Pagup\Bialty\Controllers\DomController;
        add_filter('my_custom_filter', array( &$dom, 'bialty' ), 100);
    }

    Replace my_custom_filter with your own filter and it should work fine.

    5. You can use “Image Name” for alt tags, which will solve your issue of not being identical.

    Hope this helps.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘More about functionality’ is closed to new replies.