From 96db233bf07b07baf7eba9bf338d2169f1d7076a Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Wed, 31 Jul 2024 09:16:07 +0200 Subject: [PATCH] Disable pointer events on checker highlights to simplify DevTools inspections --- CHANGELOG.txt | 1 + client/src/includes/userbar.ts | 1 + docs/releases/6.2.md | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c905f0bede..070e6e7628 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -37,6 +37,7 @@ Changelog * Add concurrent editing notifications for pages and snippets (Matt Westcott, Sage Abdullah) * Add "soft" client-side validation for `StreamBlock` / `ListBlock` `min_num` / `max_num` (Matt Westcott) * Log accessibility checker results in the console to help developers with troubleshooting (Thibaud Colas) + * Disable pointer events on checker highlights to simplify DevTools inspections (Thibaud Colas) * Fix: Make `WAGTAILIMAGES_CHOOSER_PAGE_SIZE` setting functional again (Rohit Sharma) * Fix: Enable `richtext` template tag to convert lazy translation values (Benjamin Bach) * Fix: Ensure permission labels on group permissions page are translated where available (Matt Westcott) diff --git a/client/src/includes/userbar.ts b/client/src/includes/userbar.ts index 965ae1cf89..094dea843d 100644 --- a/client/src/includes/userbar.ts +++ b/client/src/includes/userbar.ts @@ -424,6 +424,7 @@ export class Userbar extends HTMLElement { z-index: 129; outline: 1px solid #CD4444; box-shadow: 0px 0px 12px 1px #FF0000; + pointer-events: none; `; }; diff --git a/docs/releases/6.2.md b/docs/releases/6.2.md index 3c9e92aa28..8c97c23909 100644 --- a/docs/releases/6.2.md +++ b/docs/releases/6.2.md @@ -60,6 +60,7 @@ StreamField definitions within migrations are now represented in a more compact * Allow changing available privacy options per page model (Shlomo Markowitz) * Add "soft" client-side validation for `StreamBlock` / `ListBlock` `min_num` / `max_num` (Matt Westcott) * Log accessibility checker results in the console to help developers with troubleshooting (Thibaud Colas) + * Disable pointer events on checker highlights to simplify DevTools inspections (Thibaud Colas) ### Bug fixes