Files
SnowLuma/packages
DrSmoothl 7a2de230bf fix(webui): pass aria-checked as a string literal on switch buttons
A11y checkers (axe-core / jsx-a11y) flag the boolean form because the
ARIA spec defines aria-checked as the enum "true" | "false" | "mixed",
not a boolean. React serialized the boolean to the right wire value at
runtime, but the inspection layer keys off the JSX expression's static
type. Switching to the explicit ternary silences both.
2026-05-18 14:31:08 +08:00
..
2026-05-18 13:31:17 +08:00
2026-05-18 13:31:17 +08:00
2026-05-18 13:31:17 +08:00
2026-05-18 13:31:17 +08:00