Skip to content

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/R6J8wLkoKXk",
  "published": "2024-10-26T08:42:08Z",
  "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/jdNwZHUibMY",
    "published": "2024-10-26T08:42:08Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnOPyxwIMlkvDPqMs4",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no description"
    },
    "context": "http://pasture-one-actor/actor/jdNwZHUibMY",
    "conversation_id": 310759902,
    "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
  },
  "emojis": [],
  "uri": "http://pasture-one-actor/actor/jdNwZHUibMY",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnOQB875wV0JeCLUVk",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/jdNwZHUibMY",
  "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"
    }
  ],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "no description",
  "in_reply_to_id": null,
  "created_at": "2024-10-26T08:42:08.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "spoiler_text": "",
  "favourites_count": 0,
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture-one-actor",
        "nodeinfo": {}
      },
      "permit_followback": false,
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-10-26T08:41:26.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": "AnOQ7DiFBPKjr2rEB6",
    "last_status_at": "2024-10-26",
    "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": 29,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  }
}

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/d0Nc48e2OX8",
  "published": "2024-10-26T08:42:09Z",
  "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/8rsBnLjqKBo",
    "published": "2024-10-26T08:42:09Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnOPyxwIMlkvDPqMs4",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/8rsBnLjqKBo",
    "conversation_id": 74144065,
    "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
  },
  "emojis": [],
  "uri": "http://pasture-one-actor/actor/8rsBnLjqKBo",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnOQBCCYk7kgKIvuaG",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/8rsBnLjqKBo",
  "media_attachments": [
    {
      "blurhash": null,
      "description": "name",
      "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"
    }
  ],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "text",
  "in_reply_to_id": null,
  "created_at": "2024-10-26T08:42:09.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "spoiler_text": "",
  "favourites_count": 0,
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture-one-actor",
        "nodeinfo": {}
      },
      "permit_followback": false,
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-10-26T08:41:26.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": "AnOQ7DiFBPKjr2rEB6",
    "last_status_at": "2024-10-26",
    "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": 30,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  }
}

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/klA1t-9lKY8",
  "published": "2024-10-26T08:42:10Z",
  "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/2vDR0jjXK4c",
    "published": "2024-10-26T08:42:10Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnOPyxwIMlkvDPqMs4",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/2vDR0jjXK4c",
    "conversation_id": 1446132641,
    "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
  },
  "emojis": [],
  "uri": "http://pasture-one-actor/actor/2vDR0jjXK4c",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnOQBG9s23ygb7howq",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/2vDR0jjXK4c",
  "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"
    }
  ],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "text",
  "in_reply_to_id": null,
  "created_at": "2024-10-26T08:42:10.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "spoiler_text": "",
  "favourites_count": 0,
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture-one-actor",
        "nodeinfo": {}
      },
      "permit_followback": false,
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-10-26T08:41:26.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": "AnOQ7DiFBPKjr2rEB6",
    "last_status_at": "2024-10-26",
    "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": 31,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  }
}

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/wfUosvfSFK4",
  "published": "2024-10-26T08:42:10Z",
  "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/AKMGvBAH178",
    "published": "2024-10-26T08:42:10Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png"
      }
    ]
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnOPyxwIMlkvDPqMs4",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no comment in attachment"
    },
    "context": "http://pasture-one-actor/actor/AKMGvBAH178",
    "conversation_id": 282670948,
    "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
  },
  "emojis": [],
  "uri": "http://pasture-one-actor/actor/AKMGvBAH178",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnOQBK3zVreSi2zBL6",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/AKMGvBAH178",
  "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"
    }
  ],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "no comment in attachment",
  "in_reply_to_id": null,
  "created_at": "2024-10-26T08:42:10.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "spoiler_text": "",
  "favourites_count": 0,
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture-one-actor",
        "nodeinfo": {}
      },
      "permit_followback": false,
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-10-26T08:41:26.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": "AnOQ7DiFBPKjr2rEB6",
    "last_status_at": "2024-10-26",
    "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": 32,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  }
}