[Support request] 2 Accessibility errors in my site

Home Forums Support [Support request] 2 Accessibility errors in my site

Home Forums Support 2 Accessibility errors in my site

  • This topic has 1 reply, 2 voices, and was last updated 2 months ago by Elvin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2008820
    sandeep kumar

    Hi

    I’m getting two accessibility errors on my website

    1. Buttons do not have an accessible name
    aside#block-11 > form.wp-block-search__button-outside > div.wp-block-search__inside-wrapper > button.wp-block-search__button
    <button type=”submit” class=”wp-block-search__button has-icon”>

    2. Form elements do not have associated labels
    aside#block-11 > form.wp-block-search__button-outside > div.wp-block-search__inside-wrapper > input#wp-block-search__input-1
    <input type=”search” id=”wp-block-search__input-1″ class=”wp-block-search__input” name=”s” value=”” placeholder=”” required=””>

    Kindly help me to solve this issue

    Thanks

    #2008831
    Elvin
    Staff
    Customer Support

    Hi there,

    The elements mentioned are WordPress Core blocks. (Button block and Search block)

    The tool you’re using may not be perceiving enough contrast between the element and its background.

    You may have to tweak around the colors and add a placeholder text to improve it’s accessibility score.

    A wise man once said:
    "Have you cleared your cache?"

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