From ba367251117a9ebc89b0f4211f146415e491f17a Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Thu, 2 Apr 2026 18:08:21 +0200 Subject: [PATCH] Split TODO.md into todo/ folder by topic (completed tasks removed) --- TODO.md | 1422 +----------------------------- todo/01-css-semantic-refactor.md | 59 ++ todo/02-php-components.md | 31 + todo/03-system-cache.md | 27 + todo/04-accessibility.md | 78 ++ todo/README.md | 10 + 6 files changed, 213 insertions(+), 1414 deletions(-) create mode 100644 todo/01-css-semantic-refactor.md create mode 100644 todo/02-php-components.md create mode 100644 todo/03-system-cache.md create mode 100644 todo/04-accessibility.md create mode 100644 todo/README.md diff --git a/TODO.md b/TODO.md index d7d882a..565c87e 100644 --- a/TODO.md +++ b/TODO.md @@ -1,1416 +1,10 @@ # TODO -## Template Simplification — Remove Custom Classes Where Semantic HTML Suffices - -### CSS class audit: replace with semantic selectors -- [ ] **`admin.css`**: Replace `.admin-main` with `.admin-body main` — only one `
` per page -- [ ] **`admin.css`**: Replace `.admin-page-title` with `.admin-body main > h1` — always the first `h1` in `
` -- [ ] **`admin.css`**: Replace `.admin-alert` / `.admin-alert--error` / `.admin-alert--success` with `[role="alert"]` or `.admin-body main > .alert` using `data-type="error|success"` attribute instead of modifier classes -- [ ] **`admin.css`**: Replace `.admin-form-row` with `.admin-body form > div` or `.admin-body form > .row` — form rows are always direct `
` children of `
` -- [ ] **`admin.css`**: Replace `.admin-label` with `.admin-body form label` — every label in admin forms -- [ ] **`admin.css`**: Replace `.admin-input` / `.admin-select` / `.admin-textarea` with `.admin-body form input[type="text"]`, `.admin-body form select`, `.admin-body form textarea` — leverage native element selectors -- [ ] **`admin.css`**: Replace `.admin-hint` with `.admin-body form small` — use `` instead of `

` -- [ ] **`admin.css`**: Replace `.admin-table` with `.admin-body table` — only one table per admin page -- [ ] **`admin.css`**: Replace `.admin-fieldset` / `.admin-fieldset-legend` with `.admin-body fieldset` / `.admin-body legend` -- [ ] **`main.css`**: Replace `.card__caption` with `.home-body .cards-container li p` or target `li > a > p` directly -- [ ] **`main.css`**: Replace `.card__media` with `.home-body figure` — already uses `

` elements -- [ ] **`tfe.css`**: Replace `.tfe-meta-list` selectors with `article dl`, `article dt`, `article dd` — already using `
` inside `
` -- [ ] **`tfe.css`**: Replace `.tfe-media-block` with `aside figure` — already wrapped in `
` inside `