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
I was reading over the Technique G167: Using an adjacent button to label the purpose of a field. I noticed that each example for the button, the button contained text. Therefore, I was wondering if a button who's only content is an icon, like a magnifying glass for "Search", would be sufficient for this technique?
Here is a code example: <input type="text" name="search" id="search"> <button type="submit" aria-label="Search"><i class="search"></i></button>
The text was updated successfully, but these errors were encountered:
Hello everyone,
I was reading over the Technique G167: Using an adjacent button to label the purpose of a field. I noticed that each example for the button, the button contained text. Therefore, I was wondering if a button who's only content is an icon, like a magnifying glass for "Search", would be sufficient for this technique?
Here is a code example:
<input type="text" name="search" id="search">
<button type="submit" aria-label="Search"><i class="search"></i></button>
The text was updated successfully, but these errors were encountered: