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/-X-SNOOYoYo",
  "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/ADR8TUBIOCY",
    "published": "2024-03-02T17:49:02Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture_one_actor/images/100.png"
    }
  }
}
akkoma
{
  "language": null,
  "pleroma": {
    "content": {
      "text/plain": "no description"
    },
    "context": "http://pasture_one_actor/actor/ADR8TUBIOCY",
    "conversation_id": 1276229063,
    "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
  },
  "reblog": null,
  "uri": "http://pasture_one_actor/actor/ADR8TUBIOCY",
  "media_attachments": [
    {
      "blurhash": null,
      "description": null,
      "id": "-1467100017",
      "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"
    }
  ],
  "card": null,
  "quote": null,
  "edited_at": null,
  "spoiler_text": "",
  "muted": false,
  "tags": [],
  "id": "AfRshPTEs8FwC0F3KK",
  "akkoma": {
    "source": null
  },
  "favourites_count": 0,
  "favourited": false,
  "quote_id": null,
  "reblogs_count": 0,
  "text": null,
  "reblogged": false,
  "in_reply_to_account_id": null,
  "content": "no description",
  "visibility": "public",
  "in_reply_to_id": null,
  "created_at": "2024-03-02T17:49:02.000Z",
  "bookmarked": false,
  "emojis": [],
  "url": "http://pasture_one_actor/actor/ADR8TUBIOCY",
  "application": null,
  "sensitive": false,
  "replies_count": 0,
  "emoji_reactions": [],
  "pinned": false,
  "poll": null,
  "account": {
    "acct": "actor@pasture_one_actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture_one_actor",
        "nodeinfo": {}
      },
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-03-02T17:48:02.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": "AfRsboWmnTucAWEUBE",
    "last_status_at": "2024-03-02T17:49:03",
    "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": 19,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "mentions": [
    {
      "acct": "witch",
      "id": "AfRsTSu2OAVyRRJQtE",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ]
}

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/M5X2FYZZ5Q4",
  "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/67ylKtQWdqs",
    "published": "2024-03-02T17:49:04Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture_one_actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
akkoma
{
  "language": null,
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture_one_actor/actor/67ylKtQWdqs",
    "conversation_id": 529395330,
    "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
  },
  "reblog": null,
  "uri": "http://pasture_one_actor/actor/67ylKtQWdqs",
  "media_attachments": [
    {
      "blurhash": null,
      "description": "name",
      "id": "-1467100017",
      "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"
    }
  ],
  "card": null,
  "quote": null,
  "edited_at": null,
  "spoiler_text": "",
  "muted": false,
  "tags": [],
  "id": "AfRshbQUQBBfGx31hw",
  "akkoma": {
    "source": null
  },
  "favourites_count": 0,
  "favourited": false,
  "quote_id": null,
  "reblogs_count": 0,
  "text": null,
  "reblogged": false,
  "in_reply_to_account_id": null,
  "content": "text",
  "visibility": "public",
  "in_reply_to_id": null,
  "created_at": "2024-03-02T17:49:04.000Z",
  "bookmarked": false,
  "emojis": [],
  "url": "http://pasture_one_actor/actor/67ylKtQWdqs",
  "application": null,
  "sensitive": false,
  "replies_count": 0,
  "emoji_reactions": [],
  "pinned": false,
  "poll": null,
  "account": {
    "acct": "actor@pasture_one_actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture_one_actor",
        "nodeinfo": {}
      },
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-03-02T17:48:02.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": "AfRsboWmnTucAWEUBE",
    "last_status_at": "2024-03-02T17:49:05",
    "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": 20,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "mentions": [
    {
      "acct": "witch",
      "id": "AfRsTSu2OAVyRRJQtE",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ]
}

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/ISkUSNKtVD0",
  "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/8ndCIGz-sXM",
    "published": "2024-03-02T17:49:06Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture_one_actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
akkoma
{
  "language": null,
  "pleroma": {
    "content": {
      "text/plain": "text"
    },
    "context": "http://pasture_one_actor/actor/8ndCIGz-sXM",
    "conversation_id": 1318039720,
    "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
  },
  "reblog": null,
  "uri": "http://pasture_one_actor/actor/8ndCIGz-sXM",
  "media_attachments": [
    {
      "blurhash": null,
      "description": "name",
      "id": "1741179316",
      "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"
    }
  ],
  "card": null,
  "quote": null,
  "edited_at": null,
  "spoiler_text": "",
  "muted": false,
  "tags": [],
  "id": "AfRshnGeOaRlzuXL2O",
  "akkoma": {
    "source": null
  },
  "favourites_count": 0,
  "favourited": false,
  "quote_id": null,
  "reblogs_count": 0,
  "text": null,
  "reblogged": false,
  "in_reply_to_account_id": null,
  "content": "text",
  "visibility": "public",
  "in_reply_to_id": null,
  "created_at": "2024-03-02T17:49:06.000Z",
  "bookmarked": false,
  "emojis": [],
  "url": "http://pasture_one_actor/actor/8ndCIGz-sXM",
  "application": null,
  "sensitive": false,
  "replies_count": 0,
  "emoji_reactions": [],
  "pinned": false,
  "poll": null,
  "account": {
    "acct": "actor@pasture_one_actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture_one_actor",
        "nodeinfo": {}
      },
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-03-02T17:48:02.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": "AfRsboWmnTucAWEUBE",
    "last_status_at": "2024-03-02T17:49:07",
    "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": 21,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "mentions": [
    {
      "acct": "witch",
      "id": "AfRsTSu2OAVyRRJQtE",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ]
}

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/XGjRMPDD6OI",
  "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/Rm7efgyfS4s",
    "published": "2024-03-02T17:49:09Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture_one_actor/assets/FediverseLogo.png"
      }
    ]
  }
}
akkoma
{
  "language": null,
  "pleroma": {
    "content": {
      "text/plain": "no comment in attachment"
    },
    "context": "http://pasture_one_actor/actor/Rm7efgyfS4s",
    "conversation_id": 1720534330,
    "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
  },
  "reblog": null,
  "uri": "http://pasture_one_actor/actor/Rm7efgyfS4s",
  "media_attachments": [
    {
      "blurhash": null,
      "description": null,
      "id": "1741179316",
      "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"
    }
  ],
  "card": null,
  "quote": null,
  "edited_at": null,
  "spoiler_text": "",
  "muted": false,
  "tags": [],
  "id": "AfRshz7sJ2YcmAWV1c",
  "akkoma": {
    "source": null
  },
  "favourites_count": 0,
  "favourited": false,
  "quote_id": null,
  "reblogs_count": 0,
  "text": null,
  "reblogged": false,
  "in_reply_to_account_id": null,
  "content": "no comment in attachment",
  "visibility": "public",
  "in_reply_to_id": null,
  "created_at": "2024-03-02T17:49:09.000Z",
  "bookmarked": false,
  "emojis": [],
  "url": "http://pasture_one_actor/actor/Rm7efgyfS4s",
  "application": null,
  "sensitive": false,
  "replies_count": 0,
  "emoji_reactions": [],
  "pinned": false,
  "poll": null,
  "account": {
    "acct": "actor@pasture_one_actor",
    "akkoma": {
      "instance": {
        "favicon": null,
        "name": "pasture_one_actor",
        "nodeinfo": {}
      },
      "status_ttl_days": null
    },
    "avatar": "http://akkoma/images/avi.png",
    "avatar_static": "http://akkoma/images/avi.png",
    "bot": false,
    "created_at": "2024-03-02T17:48:02.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": "AfRsboWmnTucAWEUBE",
    "last_status_at": "2024-03-02T17:49:09",
    "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": 22,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "mentions": [
    {
      "acct": "witch",
      "id": "AfRsTSu2OAVyRRJQtE",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ]
}