CARVIEW |
Select Language
HTTP/2 301
date: Thu, 09 Oct 2025 20:38:02 GMT
content-type: text/html; charset=iso-8859-1
location: https://www.w3.org/wiki/AlternateProposal
cf-ray: 98c0ade44ebc1f95-BLR
strict-transport-security: max-age=63072000
content-security-policy: upgrade-insecure-requests;
cf-cache-status: MISS
set-cookie: __cf_bm=LKNJXmtbP_pxBgJgvNAJU94GFli_AJ8rplSiBlxh_Sw-1760042282-1.0.1.1-Wp7YZl5XVpNlBEgbBTWBr4TWW2Q_HtvTmUdYVsMjFLpjxF84mXIPx_4Yk7YoeJ1BgvqOd_PT_OyNf_heKIaxFvGF9vmFqtE1740SzjCUA.g; path=/; expires=Thu, 09-Oct-25 21:08:02 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
vary: Accept-Encoding
server: cloudflare
alt-svc: h3=":443"; ma=86400
HTTP/2 200
date: Thu, 09 Oct 2025 20:38:03 GMT
content-type: text/html; charset=UTF-8
content-encoding: gzip
x-content-type-options: nosniff
content-language: en
vary: Accept-Encoding,Cookie
expires: Thu, 01 Jan 1970 00:00:00 GMT
cache-control: private, must-revalidate, max-age=0
set-cookie: cpPosIndex=1%401760042283%2354c7cd7100144a4ad080eb3a2c7edf9c; expires=Thu, 09 Oct 2025 20:38:13 GMT; Max-Age=10; path=/; secure; HttpOnly
last-modified: Wed, 01 Oct 2025 05:53:02 GMT
x-backend: wiki
x-request-id: 98c0ade9dec9c1f7
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
server: cloudflare
cf-ray: 98c0ade9dec9c1f7-BLR
alt-svc: h3=":443"; ma=86400
AlternateProposal - W3C Wiki
Jump to content
Contents
-
Beginning
-
1 Alternate Proposal: Providing Human-Parseable and Machine-Processible Textual Alternatives and Markers for Static Images (GreggV)
-
1.1 Case 1: Image Needs alt, Author Provides It
-
1.2 Case 2: Author Specifies the Image Should be Ignored
-
1.3 Case 3: Image Needs alt, Author Can't/Won't Provide It, Also Doesn't Care If Code is Valid
-
1.4 Case 4: Image needs text alternative, author can't/won't provide it, but does want code to be valid
-
AlternateProposal
Appearance
From W3C Wiki
Alternate Proposal: Providing Human-Parseable and Machine-Processible Textual Alternatives and Markers for Static Images (GreggV)
Case 1: Image Needs alt, Author Provides It
<img src="123.jpg" alt="Photo of my granny"> OR use labelledby AND (if and only if needed) describedby
A 'Text alternative' is provided. Different alternatives are possible.
Case 2: Author Specifies the Image Should be Ignored
ariarole="presentation" AND/OR alt="" is used
Case 3: Image Needs alt, Author Can't/Won't Provide It, Also Doesn't Care If Code is Valid
<img src="123.jpg">
Case 4: Image needs text alternative, author can't/won't provide it, but does want code to be valid
ALTNEEDED is used instead of ALT
Content is VALID if ANY of the following is true
- ALT="<text alternative">
- ALT=""
- ALTNEEDED
- labelledby