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": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/denrLFEFTCM",
"published": "2024-10-25T18:36:48Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/JTH-Jy7UeTA",
"published": "2024-10-25T18:36:48Z",
"content": "no description",
"attachment": {
"type": "Document",
"url": "http://pasture-one-actor/images/100.png"
}
}
}
pleroma
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:34:19.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AnNCVw42i5vY7uhgfY",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"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,
"privileges": [],
"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"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "no description",
"created_at": "2024-10-25T18:36:48.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AnNCjh1NR7dHWf16RM",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "983810756",
"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"
}
],
"mentions": [
{
"acct": "full",
"id": "AnNCNx1aSVTRFdBbWq",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"bookmark_folder": null,
"content": {
"text/plain": "no description"
},
"context": "http://pasture-one-actor/actor/JTH-Jy7UeTA",
"conversation_id": 935478924,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"quotes_count": 0,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/JTH-Jy7UeTA",
"url": "http://pasture-one-actor/actor/JTH-Jy7UeTA",
"visibility": "public"
}
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": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/HJeIvB6uUcA",
"published": "2024-10-25T18:36:49Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/pwn9uq7jWkA",
"published": "2024-10-25T18:36:49Z",
"content": "text",
"attachment": {
"type": "Document",
"url": "http://pasture-one-actor/images/100.png",
"name": "name",
"summary": "summary",
"content": "content"
}
}
}
pleroma
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:34:19.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AnNCVw42i5vY7uhgfY",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"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,
"privileges": [],
"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"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-10-25T18:36:49.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AnNCjkqtC3cVPI8meG",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": "summary",
"id": "983810756",
"pleroma": {
"mime_type": "application/octet-stream",
"name": "name"
},
"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"
}
],
"mentions": [
{
"acct": "full",
"id": "AnNCNx1aSVTRFdBbWq",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"bookmark_folder": null,
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/pwn9uq7jWkA",
"conversation_id": 896962012,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"quotes_count": 0,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/pwn9uq7jWkA",
"url": "http://pasture-one-actor/actor/pwn9uq7jWkA",
"visibility": "public"
}
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": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/H_yWUKrzwfU",
"published": "2024-10-25T18:36:50Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/u-36QpzuE0A",
"published": "2024-10-25T18:36:50Z",
"content": "text",
"attachment": [
{
"type": "Document",
"url": "http://pasture-one-actor/assets/FediverseLogo.png",
"name": "name",
"imageType": "image/jpeg"
}
]
}
}
pleroma
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:34:19.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AnNCVw42i5vY7uhgfY",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"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,
"privileges": [],
"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"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-10-25T18:36:50.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AnNCjp5DSjSOWssHXE",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": "name",
"id": "-751667840",
"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"
}
],
"mentions": [
{
"acct": "full",
"id": "AnNCNx1aSVTRFdBbWq",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"bookmark_folder": null,
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/u-36QpzuE0A",
"conversation_id": 779117832,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"quotes_count": 0,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/u-36QpzuE0A",
"url": "http://pasture-one-actor/actor/u-36QpzuE0A",
"visibility": "public"
}
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": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/QzjZL0d-ofI",
"published": "2024-10-25T18:36:50Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/dyFf-6wfKIo",
"published": "2024-10-25T18:36:50Z",
"content": "no comment in attachment",
"attachment": [
{
"type": "Document",
"url": "http://pasture-one-actor/assets/FediverseLogo.png"
}
]
}
}
pleroma
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:34:19.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AnNCVw42i5vY7uhgfY",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"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,
"privileges": [],
"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"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "no comment in attachment",
"created_at": "2024-10-25T18:36:50.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AnNCjtB2F2ULE5czA0",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "-751667840",
"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"
}
],
"mentions": [
{
"acct": "full",
"id": "AnNCNx1aSVTRFdBbWq",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"bookmark_folder": null,
"content": {
"text/plain": "no comment in attachment"
},
"context": "http://pasture-one-actor/actor/dyFf-6wfKIo",
"conversation_id": 2124783865,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"quotes_count": 0,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/dyFf-6wfKIo",
"url": "http://pasture-one-actor/actor/dyFf-6wfKIo",
"visibility": "public"
}