• Resolved Kevin

    (@klgrimley)


    A recent update has caused an issue with rendered html from a custom block. The output looks like it’s now passing through the wpauotp() function. Or at least the end result is the same. Below are examples

    Correct

    <div role="row" class="butler-icon-links icon-1 academic-advising-icon">
    <div class="favorite-tooltip-container">
    <span role="gridcell" class="favorite-icon" data-name="academic-advising" data-id="1942">
    <span class="butler-icon bi-paw-o butler-icon-1x"></span>
    </span>

    </div>
    <a role="gridcell" href="https://my.butler.edu/student-success/" class="icon-url" target="_blank" data-post-id="1942" aria-label="Academic Advising, opens a new window">
    <i class="butler-icon bi-link butler-icon-3x"></i>
    <div class="icon-heading">
    <div class="icon-title"> Academic Advising <span class="butler-icon bi-external-link butler-icon-xs"></span></div>
    </div>
    <i class="anww-external-link-icon" aria-hidden="true"></i></a>
    </div>
    After Update

    <div role="row" class="butler-icon-links icon-1 academic-advising-icon">
    <div class="favorite-tooltip-container">
    <span role="gridcell" class="favorite-icon" data-name="academic-advising" data-id="1942"><br>
    <span class="butler-icon bi-paw-o butler-icon-1x"></span><br>
    </span><p></p></div>
    <p> <a role="gridcell" href="https://my-dev.butler.edu/student-success/" class="icon-url" target="_blank" data-post-id="1942" aria-label="opens a new window"><br>
    <i class="butler-icon bi-link butler-icon-3x"></i><i class="anww-external-link-icon" aria-hidden="true"></i></a></p><a role="gridcell" href="https://my-dev.butler.edu/student-success/" class="icon-url" target="_blank" data-post-id="1942" aria-label="Academic Advising, opens a new window">
    <div class="icon-heading">
    <div class="icon-title"> Academic Advising <span class="butler-icon bi-external-link butler-icon-xs"></span></div>
    <p></p></div>
    <i class="anww-external-link-icon" aria-hidden="true"></i></a><p><a role="gridcell" href="https://my-dev.butler.edu/student-success/" class="icon-url" target="_blank" data-post-id="1942" aria-label="opens a new window"> <i class="anww-external-link-icon" aria-hidden="true"></i></a>
    </p></div>

    The additional <p> and <br> tags can be seen in the second example.

    The block was created using the create-block scaffold. And uses standard WP best practices. The content of the block is echo’d

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author williampatton

    (@williampatton)

    Hey @klgrimley,

    Thanks for reporting this, I will look into it. I think I may know the change that is causing this but it’s not clear to me why that it is being applied to the actual block output. As a temporary solution you could roll back the plugin to version 1.19.0 which is before the change I think is related was made. You can get the older versions from the advanced view of the plugins page: https://wordpress.org/plugins/accessibility-checker/advanced/

    I’ll look into getting a fix for this issue worked on asap and get back to you with an update as soon as I have something to share about that fix.

    Thread Starter Kevin

    (@klgrimley)

    @williampatton

    Thanks for the quick response. I tested both 1.19.0 and 1.20.0 and can confirm that the issue was introduced in 1.20.0 We’ve rolled back to 1.19.0 for now.

    Plugin Author williampatton

    (@williampatton)

    Hi @klgrimley,

    We have just released version 1.22.0 which contains a change which I believe will fix this issue for you. If you update and this is not resolved please let me know.

    Also if you have any other issues feel free to let me know and we will look into it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.