Meta tags
twitter:image:alt
Describes the image in twitter:image for people who cannot see it. The metadata name retains the twitter: prefix.
Code examples
Good example
<meta name="twitter:image:alt" content="A scenic lake with a mountain in the background">Names the main subjects and setting.
Good example
<meta name="twitter:image:alt" content="Line chart showing adoption rising from 12% in 2000 to 78% in 2020">Includes the useful values from the chart.
Avoid this example
<meta name="twitter:image:alt" content="Image of a person">Too vague to identify the person or what they are doing.
Avoid this example
<meta name="twitter:image:alt" content="chart.png">A filename does not describe the chart.
Recommendations
- 01Describe This ImageState the useful subject, action, and visible text without padding the description.
- 02Avoid RedundancySkip phrases such as “image of” when the description reads clearly without them.
Related documentation
Related meta tags
Legacy Twitter App Card field for the numeric App Store ID of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:id:ipad" content="307234931">The numeric App Store ID once used by App Cards.
Legacy Twitter App Card field for the numeric App Store ID of an iPhone app. X has retired its public App Card reference.
<meta name="twitter:app:id:iphone" content="307234931">The numeric App Store ID for the former Twitter iPhone app.
Legacy Twitter App Card field for an Android application ID, usually the package name used by Google Play. X has retired its public App Card reference.
<meta name="twitter:app:id:googleplay" content="com.example.app">A conventional Android application ID.
Legacy Twitter App Card field for the name of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:name:ipad" content="My Amazing App">A plain app name that matches the store listing.
Legacy Twitter App Card field for the name of an Android app. X has retired its public App Card reference.
<meta name="twitter:app:name:googleplay" content="MyApp">A short app name that matches the store listing.