• Hi there,

    I’m using the Astra theme on my website and have implemented the [astra_search] shortcode in the header, which is working well. However, when I tested my homepage on Google PageSpeed Insights, I encountered an accessibility error stating: “Uses ARIA roles on incompatible elements.”

    Upon further research, I found that the <input> element generated by the shortcode is assigned a role="search", but according to accessibility guidelines, it should be role="searchbox". I tried specifying the role in the shortcode, but the change isn’t being applied.

    For reference, I’ve attached a link to my website and a screenshot highlighting the issue here for better understanding.

    Could you please assist with a solution?

    The page I need help with: [log in to see the link]

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