SVG property standard and matrix

Scope: the 74 after-side SVGs in after/core/themes/default_admin/images, plus the 61 kept in the proposed tree. “After-side” means the MR tree; “proposed” means our separate fixes/cleanup, not upstream. Before-side historical variants (194) are not part of this normalisation pass.

Matrix: svg-properties.html — filter by family, paint model, proposal status and flags. The raw data is in svg-properties.json; rendered-pixel metrics are in svg-visual-metrics.json.

What the files look like now

Property After-side distribution Proposed
Files / bytes 74 / 41,981 B 61 / 28,661 B
24×24 viewBox 56 43
16×16 viewBox 17 17
0 0 66 33.447 (PHP logo) 1 1
currentColor 53 41
Hardcoded colour 21 20
aria-hidden/focusable 14 / 74 61 / 61 after normalisation
title / desc 0 / 74 0 / 61 (decorative policy)
IDs 0 0
External refs / scripts / foreignObject 0 0
Stroke width 2.25 33 25
Stroke width 3 11 10
No stroke (filled) 23 24
Stroke width 0.5 / 0.8 / 2 3 / 1 / 1 3 / 1 / 1
Path precision >4 decimals 17 1

Normalisation targets

UI master on the 24 grid

UI on the 16 grid

Pretints

File types

Logos

Applied metadata normalisation

interdiff-svg-metadata-normalization.patch adds aria-hidden="true" focusable="false" to the 47 proposed SVGs that lacked it and fixes tabledrag-handle to 16×16.

svg_properties_test.py asserts:

All checks pass.

Not normalised yet — needs visual decisions

  1. Optical padding. The rendered matrix shows wide ranges: loader has 78.8% bottom padding, pager arrows 32.5% side padding, chevrons 26.9% cross-axis padding. Normalising these changes optical size, so each family needs a visual diff.
  2. Stroke-weight exceptions. 2 and 3 are deliberate weight classes, not simply drift. Decide the class table before changing any icon.
  3. Fill accents. Seven UI icons use fill-opacity=".15"; verify the accent is intentional across the family.
  4. Path precision. 1 proposed file still has >4 decimal places (back-to-site uses a 5-decimal variant to preserve its pixels). Optimise only with per-file pixel gates, as with the required/status pilot.
  5. Title/desc. Do not add blanket titles. These assets are decorative; the containing control supplies the accessible name. menu.svg is inline inside a button labelled “Tabs display toggle”.

Structural wins already in place