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": [
    "http://akkoma/users/witch",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/KDN9CVc-e9M",
  "published": "2024-08-29T10:25:03Z",
  "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/_S8ZKJ5bymw",
    "published": "2024-08-29T10:25:03Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AlSLJMPdZlJsvMIEbY",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no description"
    },
    "context": "http://pasture-one-actor/actor/_S8ZKJ5bymw",
    "conversation_id": 992920024,
    "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/_S8ZKJ5bymw",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AlSLYshrpVEkbmg0Ui",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/_S8ZKJ5bymw",
  "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
  },
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "no description",
  "in_reply_to_id": null,
  "created_at": "2024-08-29T10:25:03.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "text": 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-08-29T10:23:49.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": "AlSLS2ByAFmw04UXuS",
    "last_status_at": "2024-08-29",
    "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": 25,
    "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": [
    "http://akkoma/users/witch",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/f49jxq567MQ",
  "published": "2024-08-29T10:25:04Z",
  "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/Q6turKN9B6w",
    "published": "2024-08-29T10:25:04Z",
    "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": "AlSLJMPdZlJsvMIEbY",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/Q6turKN9B6w",
    "conversation_id": 1404977588,
    "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/Q6turKN9B6w",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AlSLYwbHLwLMgVcnmS",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/Q6turKN9B6w",
  "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
  },
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "text",
  "in_reply_to_id": null,
  "created_at": "2024-08-29T10:25:04.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "text": 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-08-29T10:23:49.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": "AlSLS2ByAFmw04UXuS",
    "last_status_at": "2024-08-29",
    "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": 26,
    "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": [
    "http://akkoma/users/witch",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/hF6-kIP4Vuo",
  "published": "2024-08-29T10:25:04Z",
  "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/oIDcBJTOnng",
    "published": "2024-08-29T10:25:04Z",
    "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": "AlSLJMPdZlJsvMIEbY",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/oIDcBJTOnng",
    "conversation_id": 1673296365,
    "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/oIDcBJTOnng",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AlSLZ0g2CCWZKPsekS",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/oIDcBJTOnng",
  "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
  },
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "text",
  "in_reply_to_id": null,
  "created_at": "2024-08-29T10:25:04.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "text": 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-08-29T10:23:49.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": "AlSLS2ByAFmw04UXuS",
    "last_status_at": "2024-08-29",
    "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": 27,
    "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": [
    "http://akkoma/users/witch",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/odW2yLWnRaI",
  "published": "2024-08-29T10:25:05Z",
  "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/ah9vfOmFwLo",
    "published": "2024-08-29T10:25:05Z",
    "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": "AlSLJMPdZlJsvMIEbY",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no comment in attachment"
    },
    "context": "http://pasture-one-actor/actor/ah9vfOmFwLo",
    "conversation_id": 612003428,
    "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/ah9vfOmFwLo",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AlSLZ4NORRzQnlBpFQ",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/ah9vfOmFwLo",
  "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
  },
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "no comment in attachment",
  "in_reply_to_id": null,
  "created_at": "2024-08-29T10:25:05.000Z",
  "bookmarked": false,
  "language": null,
  "application": null,
  "sensitive": false,
  "favourited": false,
  "tags": [],
  "edited_at": null,
  "text": 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-08-29T10:23:49.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": "AlSLS2ByAFmw04UXuS",
    "last_status_at": "2024-08-29",
    "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": 28,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  }
}