Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Decorative Images

800 sites Security covered Drupal 9–11
View on drupal.org

This module allows content editors to mark images as decorative, informing assistive technologies to ignore them. This helps improve accessibility by reducing noise for screen reader users. The option can be enabled per image field, and editors can choose whether alternative text is required for decorative images.

The Decorative Images module provides an option to mark images as decorative, displayed with a "presentation" role for assistive technologies. The option can be enabled or disabled per-field, allowing content editors to specify the role of an image where used. It provides a second option to make decorative or alternative text required.

Features

  • Adds a "Decorative" checkbox when uploading or editing an image.
  • Sets appropriate attributes on decorative images.
  • Stores decorative status using Drupal’s key-value storage.

Accessibility

Decorative images may not add meaningful content and may be ignored by screen readers. The module can help content authors follow best practices by marking such images properly to avoid audible clutter. For more details, see the W3C guidelines on decorative images.

Installation & Usage

  • Install and enable the module.
  • Navigate to Manage Form Display for a given entity image field.
  • Enable "Decorative image" in the field widget.
  • Edit an image and check Decorative to set the decorative role.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
Mar 2025
Latest release
6 months ago
Releases (12 mo)
1 ▼ from 10
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.3.4 Stable 9–11 Feb 11, 2026
1.3.3 Stable 9–11 Jun 5, 2025
1.3.0 Stable 9–11 Jun 5, 2025
1.3.2 Stable 9–11 Apr 7, 2025
1.0.0-beta4 Pre-release 9–11 Mar 17, 2025
1.0.0-beta3 Pre-release 10 Mar 10, 2025
1.0.0-beta2 Pre-release 10 Mar 5, 2025
1.x-dev Dev 9–11 Mar 4, 2025
1.0.0-beta1 Pre-release Mar 4, 2025
1.0.0-alpha2 Pre-release Mar 4, 2025
1.0.0-alpha1 Pre-release Mar 4, 2025