CARVIEW |
Select Language
HTTP/2 200
date: Wed, 08 Oct 2025 09:47:47 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
content-location: H36.html
vary: negotiate,Accept-Encoding
tcn: choice
last-modified: Thu, 02 Oct 2025 20:17:14 GMT
cache-control: max-age=21600
expires: Wed, 08 Oct 2025 15:47:47 GMT
x-backend: www-mirrors
x-request-id: 98b4b800c844c537
strict-transport-security: max-age=15552000; includeSubdomains; preload
content-security-policy: frame-ancestors 'self' https://cms.w3.org/ https://cms-dev.w3.org/; upgrade-insecure-requests
cf-cache-status: BYPASS
set-cookie: __cf_bm=PbO4om.HIqEGslOwK90nbXl6ftslq2J4p_JDAaUW56w-1759916867-1.0.1.1-kbgRUK3jND7xDhvF4.Bqouw7RtdeSikOxmM423iNTbkTOUgzhR3a9JKf66hBzGuXr9xL.SxDo4pNE8_G24L7Oai1wanAypGTC2q41OnUfc8; path=/; expires=Wed, 08-Oct-25 10:17:47 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98b4b800c844c537-BLR
alt-svc: h3=":443"; ma=86400
H36: Using alt attributes on images used as submit buttons | WAI | W3C
Skip to content
Technique H36:Using
Example 1: An
Back to Top
Examples of ways to meet WCAG; not required
About WCAG Techniques
Technique H36:Using alt
attributes on images used as submit buttons
About this Technique
This technique relates to 1.1.1: Non-text Content (Sufficient).
This technique applies to content using image-based submit buttons.
Description
For input elements of type image
, the alt
attribute of the input
element is used to provide a functional label. This label indicates the button's function, but does not attempt to describe the image. The label is especially important if there are multiple submit buttons on the page that each lead to different results.
Examples
Example 1: An input
element with an alt
attribute
<form action="/find" method="post" role="search">
<label for="look-up">Find books<label>
<input id="look-up" type="text">
<input alt="Search" src="button.gif" type="image">
</form>
Related Resources
No endorsement implied.
Related Techniques
Tests
Procedure
- For all
input
elements that have a type attribute value ofimage
, check for the presence of analt
attribute. - Check that the value of the
alt
attribute describes the button's function.
Expected Results
- #1 and #2 are true