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://misskey/users/a3lcp8mmjr0u0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/DRrYA0-pAik",
  "published": "2025-01-29T10:54:33Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a3lcp8mmjr0u0001"
    ],
    "id": "http://pasture-one-actor/actor/V4ILz8RWrjQ",
    "published": "2025-01-29T10:54:33Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
misskey
{
  "id": "a3lcspwojvsq0015",
  "createdAt": "2025-01-29T10:54:33.000Z",
  "userId": "a3lcr31yjvsq0002",
  "user": {
    "id": "a3lcr31yjvsq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "no description",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "a3lcsqosjvsq0014"
  ],
  "files": [
    {
      "id": "a3lcsqosjvsq0014",
      "createdAt": "2025-01-29T10:54:34.012Z",
      "name": "100.png",
      "type": "image/png",
      "md5": "97232d498a2c4c170d2477014380eebc",
      "size": 0,
      "isSensitive": false,
      "blurhash": "e3P#x~~9fQ~9fQ~9j[fQj[fQfQfQfQfQfQ~9j[fQj[fQfQfQfQfQfQ",
      "properties": {
        "width": 40,
        "height": 40
      },
      "url": "http://pasture-one-actor/images/100.png",
      "thumbnailUrl": "http://pasture-one-actor/images/100.png",
      "comment": null,
      "folderId": null,
      "folder": null,
      "userId": "a3lcr31yjvsq0002",
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/V4ILz8RWrjQ",
  "clippedCount": 0
}

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://misskey/users/a3lcp8mmjr0u0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/cFxCdGtAOGc",
  "published": "2025-01-29T10:54:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a3lcp8mmjr0u0001"
    ],
    "id": "http://pasture-one-actor/actor/zd5wRGBAIDg",
    "published": "2025-01-29T10:54:34Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
misskey
{
  "id": "a3lcsqogjvsq0017",
  "createdAt": "2025-01-29T10:54:34.000Z",
  "userId": "a3lcr31yjvsq0002",
  "user": {
    "id": "a3lcr31yjvsq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "a3lcsr8ejvsq0016"
  ],
  "files": [
    {
      "id": "a3lcsr8ejvsq0016",
      "createdAt": "2025-01-29T10:54:34.718Z",
      "name": "100.png",
      "type": "image/png",
      "md5": "477848153419aab293e428da5b1f0d48",
      "size": 0,
      "isSensitive": false,
      "blurhash": "e47eHyomfQomfQomfRfQfRfQfQfQfQfQfQomfRfQfRfQfQfQfQfQfQ",
      "properties": {
        "width": 40,
        "height": 40
      },
      "url": "http://pasture-one-actor/images/100.png",
      "thumbnailUrl": "http://pasture-one-actor/images/100.png",
      "comment": "name",
      "folderId": null,
      "folder": null,
      "userId": "a3lcr31yjvsq0002",
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/zd5wRGBAIDg",
  "clippedCount": 0
}

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://misskey/users/a3lcp8mmjr0u0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/aYHrO9KckFY",
  "published": "2025-01-29T10:54:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a3lcp8mmjr0u0001"
    ],
    "id": "http://pasture-one-actor/actor/8FvbsNeMslQ",
    "published": "2025-01-29T10:54:35Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
misskey
{
  "id": "a3lcsrg8jvsq0019",
  "createdAt": "2025-01-29T10:54:35.000Z",
  "userId": "a3lcr31yjvsq0002",
  "user": {
    "id": "a3lcr31yjvsq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "a3lcsrugjvsq0018"
  ],
  "files": [
    {
      "id": "a3lcsrugjvsq0018",
      "createdAt": "2025-01-29T10:54:35.512Z",
      "name": "FediverseLogo.png",
      "type": "image/png",
      "md5": "85e7feae66363e9e200570a28b0cf20a",
      "size": 0,
      "isSensitive": false,
      "blurhash": "eQE_?c.}4.YJM^}fi{EVw[xu9JK[M~xI-T9+TJRPX2$$E]NFo}j1tO",
      "properties": {
        "width": 1548,
        "height": 1548
      },
      "url": "http://pasture-one-actor/assets/FediverseLogo.png",
      "thumbnailUrl": "http://pasture-one-actor/assets/FediverseLogo.png",
      "comment": "name",
      "folderId": null,
      "folder": null,
      "userId": "a3lcr31yjvsq0002",
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/8FvbsNeMslQ",
  "clippedCount": 0
}

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://misskey/users/a3lcp8mmjr0u0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/Se1fpUgbgxI",
  "published": "2025-01-29T10:54:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a3lcp8mmjr0u0001"
    ],
    "id": "http://pasture-one-actor/actor/krH0LSlgPGQ",
    "published": "2025-01-29T10:54:35Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png"
      }
    ]
  }
}
misskey
{
  "id": "a3lcsrg8jvsq001a",
  "createdAt": "2025-01-29T10:54:35.000Z",
  "userId": "a3lcr31yjvsq0002",
  "user": {
    "id": "a3lcr31yjvsq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "no comment in attachment",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "a3lcsrugjvsq0018"
  ],
  "files": [
    {
      "id": "a3lcsrugjvsq0018",
      "createdAt": "2025-01-29T10:54:35.512Z",
      "name": "FediverseLogo.png",
      "type": "image/png",
      "md5": "85e7feae66363e9e200570a28b0cf20a",
      "size": 0,
      "isSensitive": false,
      "blurhash": "eQE_?c.}4.YJM^}fi{EVw[xu9JK[M~xI-T9+TJRPX2$$E]NFo}j1tO",
      "properties": {
        "width": 1548,
        "height": 1548
      },
      "url": "http://pasture-one-actor/assets/FediverseLogo.png",
      "thumbnailUrl": "http://pasture-one-actor/assets/FediverseLogo.png",
      "comment": "name",
      "folderId": null,
      "folder": null,
      "userId": "a3lcr31yjvsq0002",
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/krH0LSlgPGQ",
  "clippedCount": 0
}