diff --git a/web/src/components/ChoiceGroup.tsx b/web/src/components/ChoiceGroup.tsx index 677cf8d..14b836c 100644 --- a/web/src/components/ChoiceGroup.tsx +++ b/web/src/components/ChoiceGroup.tsx @@ -17,25 +17,31 @@ interface ChoiceGroupProps { /** One choice out of a few, as native radio buttons: the arrow keys and screen readers work as they should. */ export default function ChoiceGroup({ label, choices, value, onChange }: ChoiceGroupProps) { const name = useId() + const labelId = `${name}-label` return ( -
- {choices.map((choice) => ( - - ))} +
+

+ {label} +

+
+ {choices.map((choice) => ( + + ))} +
) } diff --git a/web/src/components/layout/NowPlaying.tsx b/web/src/components/layout/NowPlaying.tsx index a9008d3..f925765 100644 --- a/web/src/components/layout/NowPlaying.tsx +++ b/web/src/components/layout/NowPlaying.tsx @@ -32,7 +32,7 @@ export default function NowPlaying() { {track && ( <> diff --git a/web/src/components/layout/PlayerBar.tsx b/web/src/components/layout/PlayerBar.tsx index 91ea5a3..e28c493 100644 --- a/web/src/components/layout/PlayerBar.tsx +++ b/web/src/components/layout/PlayerBar.tsx @@ -37,7 +37,7 @@ export default function PlayerBar() { return (