• Resolved pigsound

    (@pigsound)


    hi there,
    i updated my site to the latest version of wordpress and wp-accessibility. now, when clicking on the ?i“-symbol, a white area show up but the containing longdesc text does not. can you help me with that?
    thanks in advance!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Can you share a link?

    Thread Starter pigsound

    (@pigsound)

    i am afraid, no – i tested this on my local testing environment to avoid things like that go online. my online version is still on wp 4.9. and wp accessibility 1.7.3.

    Plugin Author Joe Dolson

    (@joedolson)

    Is that the WordPress version you’re using locally, as well?

    Thread Starter pigsound

    (@pigsound)

    no, locally i use wp 5.6 and the latest version of wp accessibility 1.7.5

    Plugin Author Joe Dolson

    (@joedolson)

    Is the post from the block editor or classic editor?

    Thread Starter pigsound

    (@pigsound)

    the post was originally made with the classic editor, but i changed them into blocks recently.

    Plugin Author Joe Dolson

    (@joedolson)

    If you converted the post into blocks, that would probably strip out the extra code that is needed. However, you can convert the image into regular image block in the block editor and pick the ‘long description’ image style for the block and that should do it for you.

    Thread Starter pigsound

    (@pigsound)

    thank you for your reply, joe.
    i followed your advice but to no avail. when i click the button, a white overlay appears but the containing longdesc is missing. this is the source code:
    <figure class="wp-block-image size-medium is-style-longdesc"><div class="wpa-ld wp-image-400"><img loading="lazy" src="https://localhost:8888/url-local/wp-content/uploads/2017/05/2017-Hin-300x247.jpg" alt="?Hin I“" class="" srcset="https://localhost:8888/url-local/wp-content/uploads/2017/05/2017-Hin-300x247.jpg 300w, https://localhost:8888/url-local/wp-content/uploads/2017/05/2017-Hin-768x633.jpg 768w, https://localhost:8888/url-local/wp-content/uploads/2017/05/2017-Hin-508x419.jpg 508w, https://localhost:8888/url-local/wp-content/uploads/2017/05/2017-Hin.jpg 900w" sizes="(max-width: 300px) 100vw, 300px" id="longdesc-return-400" longdesc="https://localhost:8888/url-local/2017-2/2017-hin/?longdesc=" width="300" height="247"><div class="longdesc" aria-live="assertive" style=""></div><button><span>Long Description</span></button></div><figcaption>Hin I</figcaption></figure>
    i guess the problem is that the .longdesc div has no text in it (although i have entered a longdesc in the image description).

    Plugin Author Joe Dolson

    (@joedolson)

    I was going to ask if you could share a link, but since it’s localhost, I’m guessing not! It looks like the scripting that gets the image ID is failing; but I’m not totally sure why. If you’re able to reproduce it anywhere that I could see it, that would definitely help.

    Thread Starter pigsound

    (@pigsound)

    i just updated your plugin on the live website and found out that after the update the problem i described above shows – with legacy wordpress 4.9.16 installed. see the live website here: website with WP 4.9.16 and WP Accessibility 1.7.5

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks for sharing! I’ve explored the issue, and recreated the problem. I’ll have a fix out soon.

    Plugin Author Joe Dolson

    (@joedolson)

    This should be fixed in the latest release.

    Thread Starter pigsound

    (@pigsound)

    thank you joe,
    the fix works perfectly with my live site (wp 4.9.16), but on my test site (wp 5.6) it still does not show the longdesc.

    Plugin Author Joe Dolson

    (@joedolson)

    I have no way of knowing what the problem is on that site, unfortunately. If you’re able to reproduce it at some point in a context where I can see it, I’ll work on that. Right now, I just don’t have any information about it.

    Thread Starter pigsound

    (@pigsound)

    thank you for your patience. i just setup a new install of the live website in a subdirectory and found out that this one works like it should. supposing that the technical environment on my local server could be the cause for the dysfunct longdesc, i took a chance and updated the live site to wp 5.6 – and bingo: the longdesc contents are showing up ??
    thanks again for your efforts!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘after update: longdesc does not show up’ is closed to new replies.