Site logo

[Resolved] Buttons do not have an accessible name

Home Forums Support [Resolved] Buttons do not have an accessible name

Home Forums Support Buttons do not have an accessible name

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2571070
    Saqlain Abbas

    So I am getting this error on google page speeds.
    screenshot: https://prnt.sc/hkNgF0HLAEiS
    I am unable to find a solution on how can I add the value of the aria label on this search button. Currently, the (aria-label=””) value is empty.

    I tried to add the custom attribute via (Block -> Container -> Advanced) but it adds aria-label in the div section, not inside the button.

    Kindly help me with this problem, Thanks.

    #2571309
    David
    Staff
    Customer Support

    Hi there,

    that is the core search block, select it, Uncheck the Use Button with Icon in the blocks toolbar. Then in the Button type some text eg. Search and then recheck the Use Button with Icon`. That block will then add that text to the aria

    #2571380
    Saqlain Abbas

    It worked! Thank you so much, David.

    #2571960
    David
    Staff
    Customer Support

    You’re welcome

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