@samitouri / QOSami-HFS / commits / be4f617f

fix: (regression beta) aria-pressed

Massimo Melina committed Feb 4, 2024 at 00:02 UTC be4f617f50cdc6564836ea85d0f5c7fbfda30772
1 file changed +1
frontend/src/components.ts
+1
@@ -115,6 +115,7 @@ export function Btn({ icon, label, tooltip, toggled, onClick, onClickAnimation,
115 return h('button', {
116 title: label + prefix(' - ', tooltip),
117 'aria-label': label,
118 + 'aria-pressed': toggled,
119 onClick() {
120 if (!onClick) return
121 if (onClickAnimation !== false)