Image Description¶
The Image type is defined in ActivityStreams Vocabulary.
In this support table, we only consider how the image description, commonly called AltText is handled. Image descriptions are important from an accessibility standpoint, see WCAG 2.2. Text Alternatives.
It seems that certain implementations, e.g. firefish, store the image description on a per image URL basis and not for every instance of an image reference.
Examples¶
Example 1¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/21WQBH61HAw",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/j0EcNoLcmuw",
"published": "2024-02-28T19:00:50Z",
"content": "no description",
"attachment": {
"type": "Document",
"url": "http://pasture_one_actor/images/100.png"
}
}
}
akkoma
{
"text": null,
"language": null,
"pleroma": {
"content": {
"text/plain": "no description"
},
"context": "http://pasture_one_actor/actor/j0EcNoLcmuw",
"conversation_id": 772817114,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"reblog": null,
"uri": "http://pasture_one_actor/actor/j0EcNoLcmuw",
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "-1467100017",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture_one_actor/images/100.png",
"remote_url": "http://pasture_one_actor/images/100.png",
"text_url": "http://pasture_one_actor/images/100.png",
"type": "unknown",
"url": "http://pasture_one_actor/images/100.png"
}
],
"card": null,
"quote": null,
"edited_at": null,
"spoiler_text": "",
"muted": false,
"tags": [],
"id": "AfLlZ6dF5bnM8Clof2",
"akkoma": {
"source": null
},
"favourites_count": 0,
"favourited": false,
"quote_id": null,
"reblogs_count": 0,
"reblogged": false,
"in_reply_to_account_id": null,
"content": "no description",
"visibility": "public",
"in_reply_to_id": null,
"created_at": "2024-02-28T19:00:50.000Z",
"bookmarked": false,
"emojis": [],
"url": "http://pasture_one_actor/actor/j0EcNoLcmuw",
"application": null,
"sensitive": false,
"replies_count": 0,
"emoji_reactions": [],
"pinned": false,
"poll": null,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-02-28T18:59:50.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfLlTX1O3rWOEtPDG4",
"last_status_at": "2024-02-28T19:00:51",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 19,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "AfLlJwB9B0nqRguGFU",
"url": "http://akkoma/users/witch",
"username": "witch"
}
]
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/6hn7BaPACk4",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/r-CFn3S_1HQ",
"published": "2024-02-28T19:00:52Z",
"content": "text",
"attachment": {
"type": "Document",
"url": "http://pasture_one_actor/images/100.png",
"name": "name",
"summary": "summary",
"content": "content"
}
}
}
akkoma
{
"text": null,
"language": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/r-CFn3S_1HQ",
"conversation_id": 453432953,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"reblog": null,
"uri": "http://pasture_one_actor/actor/r-CFn3S_1HQ",
"media_attachments": [
{
"blurhash": null,
"description": "name",
"id": "-1467100017",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture_one_actor/images/100.png",
"remote_url": "http://pasture_one_actor/images/100.png",
"text_url": "http://pasture_one_actor/images/100.png",
"type": "unknown",
"url": "http://pasture_one_actor/images/100.png"
}
],
"card": null,
"quote": null,
"edited_at": null,
"spoiler_text": "",
"muted": false,
"tags": [],
"id": "AfLlZIKBcHgMOZwlcm",
"akkoma": {
"source": null
},
"favourites_count": 0,
"favourited": false,
"quote_id": null,
"reblogs_count": 0,
"reblogged": false,
"in_reply_to_account_id": null,
"content": "text",
"visibility": "public",
"in_reply_to_id": null,
"created_at": "2024-02-28T19:00:52.000Z",
"bookmarked": false,
"emojis": [],
"url": "http://pasture_one_actor/actor/r-CFn3S_1HQ",
"application": null,
"sensitive": false,
"replies_count": 0,
"emoji_reactions": [],
"pinned": false,
"poll": null,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-02-28T18:59:50.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfLlTX1O3rWOEtPDG4",
"last_status_at": "2024-02-28T19:00:53",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 20,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "AfLlJwB9B0nqRguGFU",
"url": "http://akkoma/users/witch",
"username": "witch"
}
]
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/HSrLQCCvHiM",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/TBIcd1_XW9U",
"published": "2024-02-28T19:00:54Z",
"content": "text",
"attachment": [
{
"type": "Document",
"url": "http://pasture_one_actor/assets/FediverseLogo.png",
"name": "name",
"imageType": "image/jpeg"
}
]
}
}
akkoma
{
"text": null,
"language": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/TBIcd1_XW9U",
"conversation_id": 1039612541,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"reblog": null,
"uri": "http://pasture_one_actor/actor/TBIcd1_XW9U",
"media_attachments": [
{
"blurhash": null,
"description": "name",
"id": "1741179316",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"remote_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"text_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"type": "unknown",
"url": "http://pasture_one_actor/assets/FediverseLogo.png"
}
],
"card": null,
"quote": null,
"edited_at": null,
"spoiler_text": "",
"muted": false,
"tags": [],
"id": "AfLlZUEbKsLRKjQTaK",
"akkoma": {
"source": null
},
"favourites_count": 0,
"favourited": false,
"quote_id": null,
"reblogs_count": 0,
"reblogged": false,
"in_reply_to_account_id": null,
"content": "text",
"visibility": "public",
"in_reply_to_id": null,
"created_at": "2024-02-28T19:00:54.000Z",
"bookmarked": false,
"emojis": [],
"url": "http://pasture_one_actor/actor/TBIcd1_XW9U",
"application": null,
"sensitive": false,
"replies_count": 0,
"emoji_reactions": [],
"pinned": false,
"poll": null,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-02-28T18:59:50.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfLlTX1O3rWOEtPDG4",
"last_status_at": "2024-02-28T19:00:55",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 21,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "AfLlJwB9B0nqRguGFU",
"url": "http://akkoma/users/witch",
"username": "witch"
}
]
}
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/xPiGv04gAfo",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/HDmp-WE5DyM",
"published": "2024-02-28T19:00:56Z",
"content": "no comment in attachment",
"attachment": [
{
"type": "Document",
"url": "http://pasture_one_actor/assets/FediverseLogo.png"
}
]
}
}
akkoma
{
"text": null,
"language": null,
"pleroma": {
"content": {
"text/plain": "no comment in attachment"
},
"context": "http://pasture_one_actor/actor/HDmp-WE5DyM",
"conversation_id": 679169851,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"reblog": null,
"uri": "http://pasture_one_actor/actor/HDmp-WE5DyM",
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "1741179316",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"remote_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"text_url": "http://pasture_one_actor/assets/FediverseLogo.png",
"type": "unknown",
"url": "http://pasture_one_actor/assets/FediverseLogo.png"
}
],
"card": null,
"quote": null,
"edited_at": null,
"spoiler_text": "",
"muted": false,
"tags": [],
"id": "AfLlZfwFounbdIvzea",
"akkoma": {
"source": null
},
"favourites_count": 0,
"favourited": false,
"quote_id": null,
"reblogs_count": 0,
"reblogged": false,
"in_reply_to_account_id": null,
"content": "no comment in attachment",
"visibility": "public",
"in_reply_to_id": null,
"created_at": "2024-02-28T19:00:56.000Z",
"bookmarked": false,
"emojis": [],
"url": "http://pasture_one_actor/actor/HDmp-WE5DyM",
"application": null,
"sensitive": false,
"replies_count": 0,
"emoji_reactions": [],
"pinned": false,
"poll": null,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-02-28T18:59:50.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfLlTX1O3rWOEtPDG4",
"last_status_at": "2024-02-28T19:00:57",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 22,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "AfLlJwB9B0nqRguGFU",
"url": "http://akkoma/users/witch",
"username": "witch"
}
]
}