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/G21OKVbFZ8w",
  "published": "2024-12-20T15:09:57Z",
  "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/3uw7yS1o6gY",
    "published": "2024-12-20T15:09:57Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "no description"
    },
    "context": "http://pasture-one-actor/actor/3uw7yS1o6gY",
    "conversation_id": 676755841,
    "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
  },
  "uri": "http://pasture-one-actor/actor/3uw7yS1o6gY",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "bookmarked": false,
  "reblog": null,
  "id": "ApEz35kIcJHAEEfvwu",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "ApEyqrmbMm9h0LuKOG",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/3uw7yS1o6gY",
  "emojis": [],
  "text": null,
  "content": "no description",
  "created_at": "2024-12-20T15:09:57.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-20T15:09:11.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": "ApEyyndhzfx2ulXukK",
    "last_status_at": "2024-12-20",
    "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": 33,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "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"
    }
  ]
}

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/ZUzxr1LHnWI",
  "published": "2024-12-20T15:09:58Z",
  "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/WHFlHnk1D7Y",
    "published": "2024-12-20T15:09:58Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/WHFlHnk1D7Y",
    "conversation_id": 1713330870,
    "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
  },
  "uri": "http://pasture-one-actor/actor/WHFlHnk1D7Y",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "bookmarked": false,
  "reblog": null,
  "id": "ApEz3A2AfnwrWp4GMS",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "ApEyqrmbMm9h0LuKOG",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/WHFlHnk1D7Y",
  "emojis": [],
  "text": null,
  "content": "text",
  "created_at": "2024-12-20T15:09:58.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-20T15:09:11.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": "ApEyyndhzfx2ulXukK",
    "last_status_at": "2024-12-20",
    "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": 34,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "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"
    }
  ]
}

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/yv7_8QVWeEA",
  "published": "2024-12-20T15:09:58Z",
  "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/QZkld-WIZMI",
    "published": "2024-12-20T15:09:58Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/QZkld-WIZMI",
    "conversation_id": 1260084584,
    "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
  },
  "uri": "http://pasture-one-actor/actor/QZkld-WIZMI",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "bookmarked": false,
  "reblog": null,
  "id": "ApEz3E7HUkPeBpUOsi",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "ApEyqrmbMm9h0LuKOG",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/QZkld-WIZMI",
  "emojis": [],
  "text": null,
  "content": "text",
  "created_at": "2024-12-20T15:09:58.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-20T15:09:11.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": "ApEyyndhzfx2ulXukK",
    "last_status_at": "2024-12-20",
    "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": 35,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "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"
    }
  ]
}

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/SCmoflasIFc",
  "published": "2024-12-20T15:09:59Z",
  "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/NfUjzoi8PM4",
    "published": "2024-12-20T15:09:59Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png"
      }
    ]
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "no comment in attachment"
    },
    "context": "http://pasture-one-actor/actor/NfUjzoi8PM4",
    "conversation_id": 1065752745,
    "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
  },
  "uri": "http://pasture-one-actor/actor/NfUjzoi8PM4",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "bookmarked": false,
  "reblog": null,
  "id": "ApEz3IJTtKY3CpECS8",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "ApEyqrmbMm9h0LuKOG",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/NfUjzoi8PM4",
  "emojis": [],
  "text": null,
  "content": "no comment in attachment",
  "created_at": "2024-12-20T15:09:59.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-20T15:09:11.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": "ApEyyndhzfx2ulXukK",
    "last_status_at": "2024-12-20",
    "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": 36,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "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"
    }
  ]
}