Early Access
twitter:image:alt
Provides alternative text for the image specified in the twitter:image tag. This text describes the image for users who are unable to see it, improving accessibility and providing context in environments where the image cannot be displayed.
Code Examples
<meta name="twitter:image:alt" content="A scenic lake with a mountain in the background" />
Recommendations
- Be Descriptive but ConciseEnsure the alternative text accurately describes the image, but keep it concise. Aim for a balance between brevity and meaningful content.
- Avoid RedundancyDo not include phrases like "image of" or "picture of" as it is already implied. Focus on describing the content of the image.
Related Documentation
Related Meta Tags
Defines the iPhone app ID in the Apple App Store for deep linking from tweets. This is part of Twitter Cards used to enhance tweets with rich media to direct users to web content directly or through an app.
<meta name="twitter:app:id:iphone" content="307234931">
Specifies the unique application ID for a Google Play app, used within Twitter Cards to direct users to a specific Android app.
<meta name="twitter:app:id:googleplay" content="com.example.app">
Defines the numeric ID of your iPad application in the Apple App Store, enabling Twitter to link to it when your content is shared.
<meta name="twitter:app:id:ipad" content="307234931">
Specifies the name of your Android app on the Google Play Store. This is utilized in Twitter Cards when you want to promote a mobile application directly from a tweet.
<meta name="twitter:app:name:googleplay" content="MyApp">
Specifies the name of your application tailored for iPad users when sharing content on Twitter.
<meta name="twitter:app:name:ipad" content="My Amazing App">
Community