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/URVWQXL5iiA",
  "published": "2024-10-25T18:04:50Z",
  "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/1XDiUAPy_DE",
    "published": "2024-10-25T18:04:50Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnN9gifsWC2uqOgFw8",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no description"
    },
    "context": "http://pasture-one-actor/actor/1XDiUAPy_DE",
    "conversation_id": 1728325764,
    "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": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/1XDiUAPy_DE",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnN9sn6LcmdJ3juGeW",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/1XDiUAPy_DE",
  "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-10-25T18:04:50.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-25T18:04:07.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": "AnN9oq3igbxL4dnD2e",
    "last_status_at": "2024-10-25",
    "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/ThwxSZkwJRM",
  "published": "2024-10-25T18:04:51Z",
  "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/KErsHv7-FN8",
    "published": "2024-10-25T18:04:51Z",
    "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": "AnN9gifsWC2uqOgFw8",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/KErsHv7-FN8",
    "conversation_id": 774781015,
    "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": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/KErsHv7-FN8",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnN9sr8GdaXrYqprCS",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/KErsHv7-FN8",
  "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-10-25T18:04:51.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-25T18:04:07.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": "AnN9oq3igbxL4dnD2e",
    "last_status_at": "2024-10-25",
    "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/UcUh4mCI9Mw",
  "published": "2024-10-25T18:04:51Z",
  "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/D7ztnCPoydE",
    "published": "2024-10-25T18:04:51Z",
    "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": "AnN9gifsWC2uqOgFw8",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture-one-actor/actor/D7ztnCPoydE",
    "conversation_id": 1917513826,
    "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": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/D7ztnCPoydE",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnN9sutAfeqXDBnrE0",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/D7ztnCPoydE",
  "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-10-25T18:04:51.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-25T18:04:07.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": "AnN9oq3igbxL4dnD2e",
    "last_status_at": "2024-10-25",
    "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/OqwyW6b732w",
  "published": "2024-10-25T18:04:52Z",
  "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/G9H-o70lR0s",
    "published": "2024-10-25T18:04:52Z",
    "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": "AnN9gifsWC2uqOgFw8",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "no comment in attachment"
    },
    "context": "http://pasture-one-actor/actor/G9H-o70lR0s",
    "conversation_id": 670670433,
    "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": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/G9H-o70lR0s",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnN9syqpwHM7V6k38q",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/G9H-o70lR0s",
  "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-10-25T18:04:52.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-25T18:04:07.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": "AnN9oq3igbxL4dnD2e",
    "last_status_at": "2024-10-25",
    "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"
  }
}