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://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/HkLPuxGpoE4",
  "published": "2025-08-11T17:10:27Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/ultWma-uWq4",
    "published": "2025-08-11T17:10:27Z",
    "content": "no description",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png"
    }
  }
}
friendica
{
  "id": "29",
  "created_at": "2025-08-11T17:10:27.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "fr",
  "uri": "http://pasture-one-actor/actor/ultWma-uWq4",
  "url": "http://pasture-one-actor/actor/ultWma-uWq4",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "no description",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "9",
      "type": "image",
      "url": "http://friendica/photo/preview/9",
      "preview_url": "http://friendica/photo/preview/640/9",
      "remote_url": "http://pasture-one-actor/images/100.png",
      "text_url": "http://pasture-one-actor/images/100.png",
      "description": null,
      "blurhash": "|08W~j?GfQ?GfQ?GfQ?GfQ?Gj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ?Gj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ?Gj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ?Gj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ",
      "meta": {
        "original": {
          "width": 40,
          "height": 40,
          "size": "40x40",
          "aspect": 1
        }
      }
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:10:27.000Z",
    "commented_at": "2025-08-11T17:10:27.000Z",
    "received_at": "2025-08-11T17:10:27.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "no description"
  }
}

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://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/0X0ybWIO_Z4",
  "published": "2025-08-11T17:10:28Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/Q9wCRk30rGA",
    "published": "2025-08-11T17:10:28Z",
    "content": "text",
    "attachment": {
      "type": "Document",
      "url": "http://pasture-one-actor/images/100.png",
      "name": "name",
      "summary": "summary",
      "content": "content"
    }
  }
}
friendica
{
  "id": "30",
  "created_at": "2025-08-11T17:10:28.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "gl",
  "uri": "http://pasture-one-actor/actor/Q9wCRk30rGA",
  "url": "http://pasture-one-actor/actor/Q9wCRk30rGA",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "text",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "11",
      "type": "image",
      "url": "http://friendica/photo/preview/11",
      "preview_url": "http://friendica/photo/preview/640/11",
      "remote_url": "http://pasture-one-actor/images/100.png",
      "text_url": "http://pasture-one-actor/images/100.png",
      "description": "name",
      "blurhash": "|6JT%0.hfQ.hfQ.hfQ.hfQ.hj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ.hj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ.hj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ.hj[fQj[fQj[fQj[fQfQfQfQfQfQfQfQfQfQ",
      "meta": {
        "original": {
          "width": 40,
          "height": 40,
          "size": "40x40",
          "aspect": 1
        }
      }
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:10:28.000Z",
    "commented_at": "2025-08-11T17:10:28.000Z",
    "received_at": "2025-08-11T17:10:28.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "text"
  }
}

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://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/j08NDfoz55c",
  "published": "2025-08-11T17:10:29Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/wTGbzO7l8DU",
    "published": "2025-08-11T17:10:29Z",
    "content": "text",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png",
        "name": "name",
        "imageType": "image/jpeg"
      }
    ]
  }
}
friendica
{
  "id": "31",
  "created_at": "2025-08-11T17:10:29.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "af",
  "uri": "http://pasture-one-actor/actor/wTGbzO7l8DU",
  "url": "http://pasture-one-actor/actor/wTGbzO7l8DU",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "text",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:10:30.000Z",
    "commented_at": "2025-08-11T17:10:30.000Z",
    "received_at": "2025-08-11T17:10:30.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "text"
  }
}

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://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/yXYLbe60ai8",
  "published": "2025-08-11T17:10:31Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/Ta72IVThILk",
    "published": "2025-08-11T17:10:31Z",
    "content": "no comment in attachment",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/FediverseLogo.png"
      }
    ]
  }
}
friendica
{
  "id": "32",
  "created_at": "2025-08-11T17:10:31.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "ca",
  "uri": "http://pasture-one-actor/actor/Ta72IVThILk",
  "url": "http://pasture-one-actor/actor/Ta72IVThILk",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "no comment in attachment",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:10:31.000Z",
    "commented_at": "2025-08-11T17:10:31.000Z",
    "received_at": "2025-08-11T17:10:31.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "no comment in attachment"
  }
}