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/63d3ijiJzkU",
  "published": "2024-12-02T18:32: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/RGhjuSocA-Q",
    "published": "2024-12-02T18:32: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/RGhjuSocA-Q",
    "conversation_id": 938933445,
    "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/RGhjuSocA-Q",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "AodxuwjQfvX6w9OCDQ",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/RGhjuSocA-Q",
  "emojis": [],
  "content": "no description",
  "created_at": "2024-12-02T18:32: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-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/actor/dRUJXzs61ZU",
  "published": "2024-12-02T18:32: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/1Ug7l1g0lDU",
    "published": "2024-12-02T18:32: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/1Ug7l1g0lDU",
    "conversation_id": 292825450,
    "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/1Ug7l1g0lDU",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "Aodxv0kdjMsVP3zDeq",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/1Ug7l1g0lDU",
  "emojis": [],
  "content": "text",
  "created_at": "2024-12-02T18:32: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-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/actor/0aqMBgFB3-M",
  "published": "2024-12-02T18:32: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/psgzg0wNoc8",
    "published": "2024-12-02T18:32:59Z",
    "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/psgzg0wNoc8",
    "conversation_id": 1068670277,
    "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/psgzg0wNoc8",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "Aodxv4bDQLiTKzbkWW",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/psgzg0wNoc8",
  "emojis": [],
  "content": "text",
  "created_at": "2024-12-02T18:32: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-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/actor/fMCXLUBDnYA",
  "published": "2024-12-02T18:32: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/uiPR0wT-KHw",
    "published": "2024-12-02T18:32: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/uiPR0wT-KHw",
    "conversation_id": 1780505438,
    "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/uiPR0wT-KHw",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "Aodxv8VKu9OFRut6um",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/uiPR0wT-KHw",
  "emojis": [],
  "content": "no comment in attachment",
  "created_at": "2024-12-02T18:32: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-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "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"
    }
  ]
}