• 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 5 years ago by Libin.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Libin

    (@libinvbabu)

    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.