fix: resolve Svelte 5 migration warnings and improve accessibility
All checks were successful
CI / update (push) Successful in 2m2s
All checks were successful
CI / update (push) Successful in 2m2s
- Fix state_referenced_locally warnings by extracting initial values to constants - Remove unused CSS selectors (subheading, header-actions, back-actions) - Add ARIA roles and keyboard handlers to settlement options - Add a11y ignore comment for custom checkbox implementation
This commit is contained in:
@@ -92,6 +92,7 @@ input[type=checkbox]::after
|
||||
{#each months as month}
|
||||
<div class=checkbox_container>
|
||||
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
|
||||
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
|
||||
<label tabindex="0" onkeydown={(event) => do_on_key(event, 'Enter', false, () => {toggle_checkbox_on_key(event)}) } ><input tabindex=-1 type="checkbox" name="checkbox" value="value" onclick={set_season}>{month}</label>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user