Support » Plugin: WP ULike - Most Advanced WordPress Marketing Toolkit » Buttons do not have an accessible name

  • Resolved Libin

    (@libinvbabu)


    While running Lighthouse test, all the wp ulike buttons are failing for accessibility – “Buttons do not have an accessible name”

    Failing Elements:
    button.wp_ulike_btn.wp_ulike_put_image.wp_likethis_918
    button.wp_ulike_btn.wp_ulike_put_image.wp_likethis_537
    button.wp_ulike_btn.wp_ulike_put_image.wp_likethis_450
    button.wp_ulike_btn.wp_ulike_put_image.wp_likethis_465

    When a button doesn’t have an accessible name, screen readers announce it as “button”, making it unusable for users who rely on screen readers.

    Can you fix this?

    • This topic was modified 7 months, 2 weeks ago by Libin.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve fixed this by editing the plugin file wp-ulike/inc/general-functions.php.

    Added aria-label="Like" on line 1785.

    Please consider adding this to the next version.

    Plugin Author Alimir

    (@alimir)

    Hi,
    I created an option to this topic in recent update. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Buttons do not have an accessible name’ is closed to new replies.