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

```json title="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://misskey/users/9rkld43ll7r80001"
  ],
  "id": "http://pasture-one-actor/actor/s-e6jbHUACU",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9rkld43ll7r80001"
    ],
    "id": "http://pasture-one-actor/actor/mjJ_5M7uK10",
    "published": "2024-04-01T14:12:59Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
```


```json title="misskey"
{
  "id": "9rklgsmwhkyj000v",
  "createdAt": "2024-04-01T14:12:59.000Z",
  "userId": "9rkles54hkyj0002",
  "user": {
    "id": "9rkles54hkyj0002",
    "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,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "9rklgtbchkyj000u"
  ],
  "files": [
    {
      "id": "9rklgtbchkyj000u",
      "createdAt": "2024-04-01T14:12:59.880Z",
      "name": "100.png",
      "type": "image/png",
      "md5": "dadf6cb845fc4db82eb71d587b74efd9",
      "size": 0,
      "isSensitive": false,
      "blurhash": "e1Bdk~$qfQ$qfQ$qjufQjufQfQfQfQfQfQ$qjufQjufQfQfQfQfQfQ",
      "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": null,
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/mjJ_5M7uK10",
  "clippedCount": 0
}
```

Example 2

```json title="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://misskey/users/9rkld43ll7r80001"
  ],
  "id": "http://pasture-one-actor/actor/ypQXyBFieJM",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9rkld43ll7r80001"
    ],
    "id": "http://pasture-one-actor/actor/Y-Q57vmfP40",
    "published": "2024-04-01T14:13:00Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
```


```json title="misskey"
{
  "id": "9rklgteohkyj000x",
  "createdAt": "2024-04-01T14:13:00.000Z",
  "userId": "9rkles54hkyj0002",
  "user": {
    "id": "9rkles54hkyj0002",
    "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,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "9rklgtushkyj000w"
  ],
  "files": [
    {
      "id": "9rklgtushkyj000w",
      "createdAt": "2024-04-01T14:13:00.580Z",
      "name": "100.png",
      "type": "image/png",
      "md5": "00098a6be8c2c42ceeef63589c4c2e35",
      "size": 0,
      "isSensitive": false,
      "blurhash": "e1KAin~UfQ~UfQ~Uj[fQj[fQfQfQfQfQfQ~Uj[fQj[fQfQfQfQfQfQ",
      "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": null,
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/Y-Q57vmfP40",
  "clippedCount": 0
}
```

Example 3

```json title="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://misskey/users/9rkld43ll7r80001"
  ],
  "id": "http://pasture-one-actor/actor/jh5oc_4q4WU",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9rkld43ll7r80001"
    ],
    "id": "http://pasture-one-actor/actor/e8IeDHOeQ9I",
    "published": "2024-04-01T14:13:01Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
```


```json title="misskey"
{
  "id": "9rklgu6ghkyj000z",
  "createdAt": "2024-04-01T14:13:01.000Z",
  "userId": "9rkles54hkyj0002",
  "user": {
    "id": "9rkles54hkyj0002",
    "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,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "9rklguf4hkyj000y"
  ],
  "files": [
    {
      "id": "9rklguf4hkyj000y",
      "createdAt": "2024-04-01T14:13:01.312Z",
      "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": null,
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/e8IeDHOeQ9I",
  "clippedCount": 0
}
```

Example 4

```json title="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://misskey/users/9rkld43ll7r80001"
  ],
  "id": "http://pasture-one-actor/actor/rgUc5nbgENU",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9rkld43ll7r80001"
    ],
    "id": "http://pasture-one-actor/actor/Or5oM3lQVc8",
    "published": "2024-04-01T14:13:01Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png"
      }
    ]
  }
}
```


```json title="misskey"
{
  "id": "9rklgu6ghkyj0010",
  "createdAt": "2024-04-01T14:13:01.000Z",
  "userId": "9rkles54hkyj0002",
  "user": {
    "id": "9rkles54hkyj0002",
    "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,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [
    "9rklguf4hkyj000y"
  ],
  "files": [
    {
      "id": "9rklguf4hkyj000y",
      "createdAt": "2024-04-01T14:13:01.312Z",
      "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": null,
      "user": null
    }
  ],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/Or5oM3lQVc8",
  "clippedCount": 0
}
```