• Resolved billysgtr

    (@billysgtr)


    Hello and congratulations for your plugin. It is actually a great plugin!

    I would like to ask if is there anyway to replace the <i></i> html tags with something else(eg with span element) so that the plugin will be total compatible with WCAG guidelines. For the WCAG standards, <i></i> tag is not acceptable.
    It is actually only in the toggle button here

    I know that is something extra, but is there any hook that I can do for that? Maybe adding some code to functions.php or something like that?

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Iks Studio

    (@iksstudio)

    Hello, thank you.

    Are you sure, that <i> tag is fully incompatible with WCAG?
    Can you share guidelines about it?
    May be we just need to pass some “aria” or “role” params for this tag.

    Thread Starter billysgtr

    (@billysgtr)

    Thread Starter billysgtr

    (@billysgtr)

    Hello again,

    do you have any updates here about the <i> html elements?

    mbou

    (@mbou)

    Hi,

    Actually you can do it yourself, by modifying : wp-content/plugins/iks-menu-pro/includes/render/menurenderer.php line 314.

    If you dont have pro version it barely the same except for : “iks-menu-pro” and the line.
    But it in the same file ctrl+f “<i class=’$icon’>”

    But dont forget its not stable. Next update and it go.

    Plugin Author Iks Studio

    (@iksstudio)

    Hello, @billysgtr.

    This is a critical change and we can’t just change element type to another (every site, that uses it inside CSS will be broken).
    We’ll think about adding special option to configure it. It will be done in 7 days.

    Thread Starter billysgtr

    (@billysgtr)

    Great, thanks for the update!

    Plugin Author Iks Studio

    (@iksstudio)

    Hello!

    Please update your plugin to the latest version (1.9.0).

    Go to Display > Toggle and change the setting “Icon Tag”.

    Plugin Author Iks Studio

    (@iksstudio)

    Hello again, @billysgtr!

    Did you try our new setting?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Replace element’ is closed to new replies.