• Resolved akox

    (@akox)


    Just started using this plugin on one of our sites for work, and I found a negative interaction with another plugin. Audio Eye is an accessibility plugin that adds screen reader functionality to all of our sites, and to be ADA compliant, we need to have it running on all our sites. One of the things it does is remove title attributes from a tags on sites that it’s on. It removes the title attributes in order to improve usability of the screen reader by reducing the number of items to be read off.

    All this said, the easy fix is to change the CSS files to check the data-lang attribute instead of the title attribute, which only needs a find/replace. unfortunately, it is our policy to not modify third party plugins for use on our sites, and adding over 1800 lines of CSS to my site to fix the plugin on our site isn’t exactly feasible.

    I was hoping, since the functionality of the plugin isn’t affected by the change, and in fact make it more usable in instances where certain other plugins are being used, you guys could make the change on your end and push a new version.

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I think that removing the title tag from a flag image link which represents a clickable element to select a different language is not a good idea, since it is breaking the ADA compliance rules. If the title attribute is removed then flags to select different languages will become “invisible”.

    It is true that you can change the following CSS selector

    #flags.size24 a[title="Igbo"]

    to

    #flags.size24 a[data-lang="Igbo"]

    which will solve the issue, however it may not always work as expected, since data-lang attribute is being added via javascript after page load from title attribute and depending when the Audio Eye script is executed (before or after) to remove the title attribute it may cause issues.

    In my opinion there must be an option in Audio Eye plugin to skip the removal of flag title attributes, which is better solution.

    Please let me know your thoughts.

    Thanks! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Interaction with Audio Eye plugin’ is closed to new replies.