This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

add aria label to the button

add aria label to the button

Home Forums Product Support Forums Ajax Search Pro for WordPress Support add aria label to the button

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40186
    inoruhanainoruhana
    Participant

    Hello Ernest,

    I am using the last updated version 4.24.1.
    But the PageSpeed Insight still shows the missing attribute of the button.
    Please help me how to add aria label to the button?

    Thanks
    Best regards,
    Inoruhana

    #40200
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Inoruhana,

    If you want, you can safely ignore that, the actual WCAG AA check is positive, button labels are not mandatory.

    However if you want to add a button label, you can do that by editing the core plugin code.
    – Make sure to have a full server backup first
    – Open up the wp-content/plugins/ajax-search-pro/includes/views/asp.shortcode.probox.php file on your server
    – Replace it’s content with this.
    – Save, and the issue is solved.

    #40236
    inoruhanainoruhana
    Participant

    Hi Ernest,

    You are great.
    I know how to add that attribute into the code.
    I had looked for that code in the plugin for a day. However unfortunately I did not find it.
    Thanks for your help, Ernest.
    I do not need to replace all the code in that file, but just add simply the attribute aria.
    It worked perfectly.

    Best wishes,
    Inoruhana

    #40243
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #40274
    inoruhanainoruhana
    Participant

    Yes, Ernest. Please close this topic and mark it as resolved.
    Again, I really appreciated your supports.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘add aria label to the button’ is closed to new replies.