Hi,
For this demo
The Accessibility section on web.dev returns: ARIA IDs are not unique
div.tdb-block-inner > form.tdb-search-form > div.tdb-search-form-inner > input#tdb-search-form-input
<input id=”tdb-search-form-input” class=”tdb-search-form-input” placeholder=” ” type=”text” value=”” name=”s”>
Looks like it is something to do with the search form.
Would you know how to fix this?
Thank you.
-
This topic was modified 3 years by
Alex.
Hi Bettina,
12.5.1 was only a demo.
12.5 had a tone of updates.
12.5 version was released way after this thread was created.
Either way, it is up to you to fix it in your theme or not.
Hi @ncalex
Well, in addition to Search Form block, seems like Header Live Search block also have issues.
1. This new demo you just released uses Header Live Search. The issue is: Form elements do not have associated labels.
2. The second issue with Header Live Search is: Elements with visible text labels do not have matching accessible names. This happens when the additional text is placed in “Text” field under General > Search Icon section. Put, for example, Job Search, and the pagespeed will return error. From what I understand because aria label is set for “Search” by default, and doesn’t change to “Job Search”.
So basically, seems like none of the TD search blocks work properly.
Thanks.
Hi Alex,
I know what you mean, and there are still elements in the theme that need to be adjusted, some of theme were, but some adjustments are not 100% because the element by default comes with a pre-set text that can be changes and then the attributes for that elements should also changed, but those were hardcoded in html. We’ll do our best to improve it as best as we can.
Thank you!