Archived topic
Lighthouse error for mobile Icon call us button
7 replies · Started by Bill on May 23, 2022
Lighthouse error for mobile Icon call us button
https://1drv.ms/u/s!AmfEBFQnubVGge9jNAeS_390cOsndQ
Any way around this?
Thanks!
Hi Bill,
You have this aria-hidden="f" in this svg:
https://www.screencast.com/t/PjqKf9kqkDu
I don't think that's added by GB as when I try to replicate this, there's no aria label in the default GB icons.
Can you check if you added any aria label to the icon?
Sorry Ying, that was caused from an attempt to fix it. Please look again. The is is the actual error I would like to fix:
Hi Bill,
Can you try setting an ARIA label through the Advance settings of the button and see how it goes?
Example: https://share.getcloudapp.com/yAu18yen
Let us know how it goes. :)
Thanks Fernando, I tried that, but the got the first error I posted. But I will experiment a bit more. :)
I see. Found this article that might be worth trying: https://jhalabi.com/blog/accessibility-phone-number-formatting#:~:text=ARIA%20labels%20%E2%80%93%20a%20more%20reasonable%20solution
Hope this helps! :)
Thanks Fernando, that worked! Appreciate it very much.
You’re welcome Bill! :)