1.4.13 Content on Hover

Hi everyone,

Regarding 1.4.13, we have a form text input search with no label. W3 has
recommended adding a title attribute.

However, I am concerned that this will then fail 1.4.13, Content on Hover.
Could anyone help please?

Specifically, W3 has this guidance

"A Web page contains a text field where the user can enter search terms and
a button labeled "Search" for performing the search. The title attribute is
used to identify the form control and the button is positioned right after
the text field so that it is clear to the user that the text field is where
the search term should be entered."

<input type="text" title="Type search term here"/> <input type="submit"
value="Search"/>

Same question, but what if the button had an SVG in it rather than the text
"Search"? Or does that make a difference.

Received on Wednesday, 13 September 2023 14:20:42 UTC