a11y + CSS cleanup: fix label associations, remove orphaned style blocks, suppress autofocus

- Add for/id to all form label+input pairs: person, address, contact, users pages
- Convert decorative section-header <label> elements to <p> in launcher cfg files
- Add for/id to dynamic labels in leads custom questions, badges review form
- Change non-form <label> wrappers for custom editors to <div>/<p>
- Remove orphaned <style> blocks (ae_quick_modal_container/ae_quick_popover) from
  people/[person_id]/+page.svelte and location_view.svelte

Result: 95 warnings -> 26 warnings (remaining are lu_* false positives + 1 legacy CSS)
This commit is contained in:
Scott Idem
2026-03-05 21:28:16 -05:00
parent b766942373
commit 609818c361
21 changed files with 154 additions and 226 deletions

View File

@@ -1031,9 +1031,10 @@
{#each [1, 2, 3, 4, 5, 6, 7, 8] as idx}
{#if ($lq__event_badge_obj[`other_${idx}_code`] || local_edit_active)}
<div class="space-y-1">
<label class="block text-xs text-gray-500">Option {idx}</label>
<label class="block text-xs text-gray-500" for="badge-option-{idx}">Option {idx}</label>
{#if local_edit_active}
<input
id="badge-option-{idx}"
type="text"
class="input input-sm w-full"
value={get_option_code(idx) ?? ''}
@@ -1062,9 +1063,10 @@
{#each [1, 2, 3, 4, 5, 6, 7, 8] as idx}
{#if ($lq__event_badge_obj[`ticket_${idx}_code`] || local_edit_active)}
<div class="space-y-1">
<label class="block text-xs text-gray-500">Ticket {idx}</label>
<label class="block text-xs text-gray-500" for="badge-ticket-{idx}">Ticket {idx}</label>
{#if local_edit_active}
<input
id="badge-ticket-{idx}"
type="text"
class="input input-sm w-full"
value={get_ticket_code(idx) ?? ''}