Attribution links open new windows without informing user

Created on 8 March 2024, about 1 year ago
Updated 25 March 2024, about 1 year ago

Problem/Motivation

Attribution links sometimes have target="_blank" set to open in new window, but user is not informed of this change.
This will be disorientating for certain users as it hijacks their browsing expectations.

Failure of WCAG Success Criterion 3.2.5 due to opening windows that are not requested by the user.

Steps to reproduce

Go to any content with a map provided by leaflet module using default Leaflet (or Stamen TonerLite) layers, in bottom right of map click on OpenStreetMap (or Stadia Maps) link.
Opens destination link in new window, unable to use back button to return to previous page.

Proposed resolution

Considering the negative impact of using target="_blank", and it's inconsistent use, recommend remove any use of target="_blank" altogether.

Remaining tasks

Remove target="_blank" from any links, unless essential to not disrupt user's current activity, in which case provide text informing the user of this change of context.
See https://www.w3.org/WAI/WCAG21/Techniques/general/G200

🐛 Bug report
Status

Fixed

Version

10.2

Component

Code

Created by

🇫🇷France waako Normandie

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024