Independent review material for Drupal core MR !16166 (default_admin SVG consolidation).
29b0a0b2256eb5ed27df6ec5e4e4e33142a717e8fe4adb4f942385912bb3244b570afa475cadf3bdThis is a draft review lab, not an official Drupal repository, not an upstream fork, and not RTBC. No claim of full SVG or WCAG conformance is made.
| Path | Contents |
|---|---|
HANDOFF.md / .html |
Verified/unverified split, patch order and release status |
SVG-IMPROVEMENT-PLAN.md |
Prioritised plan for missing assets, dark mode, forced colours, WCAG 2.2 AA, testing and optimisation |
reconciliation.md / .json |
Checkmark-family dispositions and evidence |
CODE-REVIEW.md |
Review of the SVG Review Lab tooling |
evidence/ |
Historical findings baseline (schema 4) |
lab/ |
The static SVG Review Lab (acquire.py, usage.py, review.py, template.html) |
proposed/interdiff-*.patch |
Small proposed fixes/optimisations against the MR head |
proposed/tests/ |
Regression checks for the fixes |
proposed/reports/ |
Per-fix evidence, screenshots, validation, currentColor dark-mode audit, SVG property matrix, high-use optimisation and the self-contained asset gallery |
review.html |
Interactive SVG inventory generated from the pinned snapshots |
after/ / proposed/ |
Test fixtures only — not full Drupal themes; see below |
See how “used” was determined: the current label is a source/alias scan, not a rendered-page audit.
The 14 assets currently recommended for removal are appearance, blocks, bookmarks, content, files, media, nav-toggle-left, nav-toggle-top, people, reports, structure, user, pretint/chevron-down-default and pretint/remove-default. search and chevron-left are also unused but remain pending a decision.
python3 -m http.server 8770 --bind 127.0.0.1
# open http://127.0.0.1:8770/proposed/reports/patch-gallery.html
patch-gallery.html embeds the SVGs, so the asset gallery works without the Drupal snapshots. The “Open real forced-colours tabs” button needs the local Playwright helper, which is not included in this simplified repo; use Chromium DevTools → Rendering → Emulate forced-colors instead.
review.html is the full generated inventory and also works offline.
cd lab
python3 acquire.py # fetches the pinned commits and extracts default_admin
python3 review.py # writes usage.json, inventory.json, review.html
This requires Git and network access to git.drupalcode.org. Do not commit the acquired before/, after/, drupal.git/, inventory.json or usage.json.
Apply in this order to a checkout at the MR head:
git apply -p1 proposed/interdiff-checkmark.patch
git apply -p1 proposed/interdiff-forced-colors-status-icons.patch
git apply -p1 proposed/interdiff-svg-optimization-required.patch
git apply -p1 proposed/interdiff-svg-cleanup.patch
git apply -p1 proposed/interdiff-svg-optimization-status-family.patch
git apply -p1 proposed/interdiff-loader-currentcolor.patch
git apply -p1 proposed/interdiff-svg-metadata-normalization.patch
git apply -p1 proposed/interdiff-svg-high-use-optimization.patch
git apply -p1 proposed/interdiff-svg-over-300-optimization.patch
Each patch is small and independently reviewable. Nothing here has been pushed upstream or posted to the issue/MR.
python3 proposed/tests/checkmark_regression.py
python3 proposed/tests/forced_colors_status_icons.py
python3 proposed/tests/svg_cleanup_test.py
python3 proposed/tests/svg_optimization_pilot.py
python3 proposed/tests/svg_optimization_status_family.py
python3 proposed/tests/loader_dark_test.py
python3 proposed/tests/svg_properties_test.py
python3 proposed/tests/compiled_icons_test.py
The repository includes only the changed-file fixture subset needed by these checks under after/ and proposed/; it is not a full Drupal theme. The full-tree validation report in proposed/reports/validation.json was generated from the complete proposed theme.
search-muted / search-muted-rtl (autocomplete) and pretint/edit-inverse (media-library dark mode). A dark disabled select chevron also needs a decision.2.85:1 → 5.85:1)required.svg and five status iconsicons.css is 40,615 → 25,587 bytes (37.0%) (net of the new check-disabled-inverse pretint).menu.svg is inline and inherits, while the sticky loader was a real background-image: currentColor bug and now uses a currentColor mask.help.svg was skipped because rounding changed visible pixels.tabledrag-handle.svg was corrected from 17×17 to 16×16; file types, pretints and logos are deliberately kept as separate families.Apply the over-300 optimisation patch after the metadata and high-use patches so the compiled icons.css data URIs stay in sync.
Drupal is licensed under GPL-2.0-or-later. The patches, Drupal-derived SVGs, screenshots and evidence in this repository are derived from Drupal core and remain under that licence. See LICENSE and NOTICE.
This repository is not affiliated with or endorsed by the Drupal Association or the Drupal project.