Astra search shortcode issue
-
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 arole="search"
, but according to accessibility guidelines, it should berole="searchbox"
. I tried specifying therole
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]
- You must be logged in to reply to this topic.