Skip to content

Annotation compatibility support

Anthony Geourjon edited this page Mar 27, 2026 · 9 revisions

Annotation display compatibility support in Mirador 4 and 3

Mirador Supported Type Mirador Class IIIF Pres v2.x IIIF Pres v3.x Supported Selectors
IIIF - AnnotationList AnnotationList ✅
Open Annotation - Annotation AnnotationResource ✅ SvgSelector, FragmentSelector
IIIF - AnnotationPage AnnotationPage ✅
Web Annotation - Annotation AnnotationItem ✅ SvgSelector, FragmentSelector

Annotation Creation

Annotation creation is not included with the default build. Annotation creation tools can be added via plugin.

For Mirador 4, See TETRAS-IIIF/mirador-annotation-editor

For Mirador 3, See projectmirador/mirador-annotations (Unmaintained now)

Annotation on video

See https://github.com/TETRAS-IIIF/mirador-video and https://github.com/ProjectMirador/mirador/issues/4251

Filtering annotation

Since https://github.com/ProjectMirador/mirador/pull/4218/changes, Mirador display by default all the annotations (no filtering on the motivation).

TODO : when officially release, indicate the Mirador version

If you want to keep old behavior, integrate following lines in your Mirador configuration :

 annotations: {
    htmlSanitizationRuleSet: 'iiif', // See src/lib/htmlRules.js for acceptable values
    filteredMotivations: ['oa:commenting', 'oa:tagging', 'sc:painting', 'commenting', 'tagging'],
    // filteredMotivations: if empty, all annotation motivations will be shown.
    // Otherwise, only annotations with motivations listed in the array will be shown.
  },

Clone this wiki locally