You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
But if you replace the <input type="submit" id="text" value="Send"> with <input type="image" id="text" value="Send" src="image.gif" alt="image"> then it returns an error message about needing an additional label for the <input type="image"> tag!
Just a small update. I found out that adding a title="Text Here" attribute on the <input type="image"> element will silence the error. Thank goodness, I thought I was just stuck.
Achecker is fine with this code. No errors.
<label for="example">Let's submit some text</label>
<input type="text" id="example" name="text">
<input type="submit" id="text" value="Send">
But if you replace the
<input type="submit" id="text" value="Send">
with<input type="image" id="text" value="Send" src="image.gif" alt="image">
then it returns an error message about needing an additional label for the<input type="image">
tag!This is wrong. According to W3C, "The element is a button, specifically a Submit Button."
https://www.w3.org/TR/html52/sec-forms.html#image-button-state-typeimage
So the image button in itself should not require a label to be added. Please fix this.
The text was updated successfully, but these errors were encountered: