Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

A11y: links inside sentences are underlined, template cards named by what they show

Claudea48f9f94d1bb
diff --git a/src/components/assist/project-view.tsx b/src/components/assist/project-view.tsx
index f6d06806..98afbd63 100644
--- a/src/components/assist/project-view.tsx
+++ b/src/components/assist/project-view.tsx
@@ -367,7 +367,7 @@ function Sources({ p }: { p: AssistProject }) {
) : (
<p className="px-3 py-4 text-center text-[13px] text-muted-foreground">
No elements yet —{" "}
- <Link href="/elements" className="text-brand-text hover:underline">
+ <Link href="/elements" className="text-brand-text underline underline-offset-2">
save a character or product
</Link>
.
diff --git a/src/components/assist/skills-view.tsx b/src/components/assist/skills-view.tsx
index 8ab21422..0f7b988f 100644
--- a/src/components/assist/skills-view.tsx
+++ b/src/components/assist/skills-view.tsx
@@ -260,7 +260,7 @@ function SkillDetail({ name, onClose, onEdit }: { name: string | null; onClose:
{s.studio && (
<>
{" · "}
- <Link href={s.studio} className="text-brand-text hover:underline">
+ <Link href={s.studio} className="text-brand-text underline underline-offset-2">
Open the studio
</Link>
</>
diff --git a/src/components/color-grade-view.tsx b/src/components/color-grade-view.tsx
index 65f8999f..eab16ae7 100644
--- a/src/components/color-grade-view.tsx
+++ b/src/components/color-grade-view.tsx
@@ -503,7 +503,7 @@ function Grader() {
</div>
{saved && (
<div className="flex gap-2 text-[12px]">
- <Link href="/library" className="text-brand-text hover:underline">
+ <Link href="/library" className="text-brand-text underline underline-offset-2">
Open library
</Link>
<a href={`${saved}?download=graded.${input?.kind === "video" ? "webm" : "png"}`} className="ml-auto inline-flex items-center gap-1 text-muted-foreground hover:text-foreground">
diff --git a/src/components/faceless/settings-form.tsx b/src/components/faceless/settings-form.tsx
index 21f6480a..abaf8016 100644
--- a/src/components/faceless/settings-form.tsx
+++ b/src/components/faceless/settings-form.tsx
@@ -75,7 +75,7 @@ export function ElementsPicker({ value, onChange }: { value: string[]; onChange:
if (!els.length)
return (
<p className="text-[12px] text-muted-foreground">
- Save characters and places in <Link href="/elements?new=1" className="text-brand-text hover:underline">Elements</Link> to keep them the same in every scene.
+ Save characters and places in <Link href="/elements?new=1" className="text-brand-text underline underline-offset-2">Elements</Link> to keep them the same in every scene.
</p>
);
return (
diff --git a/src/components/fashion/character-sheet.tsx b/src/components/fashion/character-sheet.tsx
index 53206872..f3ab8481 100644
--- a/src/components/fashion/character-sheet.tsx
+++ b/src/components/fashion/character-sheet.tsx
@@ -108,7 +108,7 @@ function SaveCharacter({ item, extra, defaultName }: { item: Generation; extra:
</span>
<p className="min-w-0 flex-1 text-[13px]">
Saved as <span className="font-medium">@{saved.handle}</span> — use it anywhere with <AtSign className="inline size-3" />
- mentions, in <Link href="/photodump" className="text-brand-text hover:underline">Photodump</Link> or <Link href="/fashion-factory" className="text-brand-text hover:underline">Fashion Factory</Link>.
+ mentions, in <Link href="/photodump" className="text-brand-text underline underline-offset-2">Photodump</Link> or <Link href="/fashion-factory" className="text-brand-text underline underline-offset-2">Fashion Factory</Link>.
</p>
<Button asChild variant="outline" size="sm">
<Link href={`/elements/${saved.id}`}>Open @{saved.handle}</Link>
@@ -137,7 +137,7 @@ function SaveCharacter({ item, extra, defaultName }: { item: Generation; extra:
</Button>
<p className="w-full text-[12px] text-muted-foreground">
Use it anywhere with <AtSign className="inline size-3" />
- mentions, in <Link href="/photodump" className="text-brand-text hover:underline">Photodump</Link> or <Link href="/fashion-factory" className="text-brand-text hover:underline">Fashion Factory</Link> — or train a Soul ID / LoRA from its page.
+ mentions, in <Link href="/photodump" className="text-brand-text underline underline-offset-2">Photodump</Link> or <Link href="/fashion-factory" className="text-brand-text underline underline-offset-2">Fashion Factory</Link> — or train a Soul ID / LoRA from its page.
</p>
</div>
);
diff --git a/src/components/library-view.tsx b/src/components/library-view.tsx
index 501e91b0..745c9f6a 100644
--- a/src/components/library-view.tsx
+++ b/src/components/library-view.tsx
@@ -426,7 +426,7 @@ function Inner() {
return (
<Empty title={`No matches for “${dq}”`}>
Try another word.{" "}
- <button onClick={() => setQ("")} className="text-brand-text hover:underline">
+ <button onClick={() => setQ("")} className="text-brand-text underline underline-offset-2">
Clear search
</button>
</Empty>
@@ -436,7 +436,7 @@ function Inner() {
return (
<Empty title="Nothing pinned here yet">
Pin results from their ⋯ menu (or select some and choose Pin) to keep them at the top.{" "}
- <button onClick={() => setFilters({ ...filters, pinned: false })} className="text-brand-text hover:underline">
+ <button onClick={() => setFilters({ ...filters, pinned: false })} className="text-brand-text underline underline-offset-2">
Show everything
</button>
</Empty>
@@ -445,7 +445,7 @@ function Inner() {
if (hasFilters(filters)) {
return (
<Empty title="Nothing matches your filters">
- <button onClick={() => setFilters(NO_FILTERS)} className="text-brand-text hover:underline">
+ <button onClick={() => setFilters(NO_FILTERS)} className="text-brand-text underline underline-offset-2">
Clear filters
</button>
</Empty>
@@ -456,7 +456,7 @@ function Inner() {
return (
<Empty title="Nothing here directly">
What&apos;s in this folder is in the folders above.{" "}
- <button onClick={() => setFilters({ ...filters, subfolders: true })} className="text-brand-text hover:underline">
+ <button onClick={() => setFilters({ ...filters, subfolders: true })} className="text-brand-text underline underline-offset-2">
Show their results here
</button>
</Empty>
@@ -468,7 +468,7 @@ function Inner() {
return (
<Empty title="Your creations will appear here">
Generate something and it lands here.{" "}
- <Link href="/image" className="text-brand-text hover:underline">
+ <Link href="/image" className="text-brand-text underline underline-offset-2">
Create an image
</Link>
</Empty>
@@ -598,7 +598,7 @@ function Inner() {
{missingFolder ? (
<Empty title="This folder no longer exists">
It may have been deleted; what was in it is back in your Library.{" "}
- <button onClick={() => go({ folder: undefined })} className="text-brand-text hover:underline">
+ <button onClick={() => go({ folder: undefined })} className="text-brand-text underline underline-offset-2">
Back to Library
</button>
</Empty>
diff --git a/src/components/marketing/template-gallery.tsx b/src/components/marketing/template-gallery.tsx
index 4a9160bf..d92e25dd 100644
--- a/src/components/marketing/template-gallery.tsx
+++ b/src/components/marketing/template-gallery.tsx
@@ -17,8 +17,6 @@ function TemplateCard({ t, selected, onPick }: { t: MarketingTemplate; selected:
type="button"
onClick={() => onPick(t)}
aria-pressed={selected}
- // Starts with what the card shows (the format chip, then the name), so speech users can say it.
- aria-label={`${f.cardLabel} · ${t.name}${video ? " · video" : ""} template`}
className={cn("group/tpl min-w-0 rounded-2xl text-left outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", selected && "ring-2 ring-primary ring-offset-2 ring-offset-background")}
>
<div className="relative aspect-[3/4] overflow-hidden rounded-2xl bg-muted transition-transform duration-300 ease-move group-hover/tpl:scale-[1.015]">
@@ -31,6 +29,8 @@ function TemplateCard({ t, selected, onPick }: { t: MarketingTemplate; selected:
)}
</div>
<p className="mt-2 truncate px-0.5 text-[13px] font-medium">{t.name}</p>
+ {/* Named by what it shows (the format chip, then the name), so speech users can say it. */}
+ <span className="sr-only">{video ? ", video template" : ", template"}</span>
</button>
);
}
diff --git a/src/components/moodboards/moodboard-panel.tsx b/src/components/moodboards/moodboard-panel.tsx
index 28a50eda..a2d358bc 100644
--- a/src/components/moodboards/moodboard-panel.tsx
+++ b/src/components/moodboards/moodboard-panel.tsx
@@ -165,7 +165,7 @@ export function MoodboardPanel({ value, onPick, presetSource }: { value?: Moodbo
)}
<p className="text-[11.5px] text-muted-foreground">
Soul and Soul 2.0 take their own presets natively; other models get the look in words, or your board&apos;s images as style references.{" "}
- <Link href="/moodboards" className="text-brand-text hover:underline">
+ <Link href="/moodboards" className="text-brand-text underline underline-offset-2">
Manage moodboards
</Link>
</p>
diff --git a/src/components/photodump/subject.tsx b/src/components/photodump/subject.tsx
index 4213bff2..5c203171 100644
--- a/src/components/photodump/subject.tsx
+++ b/src/components/photodump/subject.tsx
@@ -94,7 +94,7 @@ export function QuickCharacter({ open, onOpenChange, onCreated }: { open: boolea
{photos.length}/{MAX_PHOTOS} photos · PNG, JPG, WebP or paste
</p>
<p className="text-[12px] text-muted-foreground">
- Or <Link href="/character-sheet" className="text-brand-text hover:underline">build one with Character Sheet</Link>, then pick it here.
+ Or <Link href="/character-sheet" className="text-brand-text underline underline-offset-2">build one with Character Sheet</Link>, then pick it here.
</p>
<p className="text-[11.5px] leading-snug text-muted-foreground">{CREATE_COPY.consent}</p>
<DialogFooter>
diff --git a/src/components/studio/audio-controls.tsx b/src/components/studio/audio-controls.tsx
index cf737970..e847630a 100644
--- a/src/components/studio/audio-controls.tsx
+++ b/src/components/studio/audio-controls.tsx
@@ -116,7 +116,7 @@ export function VoicePicker({
) : (
<p className="px-2 pb-1 text-[12px] text-muted-foreground">
Save voices you reuse in{" "}
- <Link href="/elements?new=1" className="text-brand-text hover:underline">
+ <Link href="/elements?new=1" className="text-brand-text underline underline-offset-2">
Elements
</Link>
.
diff --git a/src/components/train-dialog.tsx b/src/components/train-dialog.tsx
index 2217f7cf..26d5f49b 100644
--- a/src/components/train-dialog.tsx
+++ b/src/components/train-dialog.tsx
@@ -149,7 +149,7 @@ export function TrainDialog({ element, open, onOpenChange }: { element: StudioEl
<p className="mt-2 text-[12px] text-muted-foreground">
{tooFew ? `Needs at least ${t.minImages} photos.` : t.blocker}{" "}
{t.blocker && !tooFew && (
- <Link href="/settings" className="text-brand-text hover:underline">
+ <Link href="/settings" className="text-brand-text underline underline-offset-2">
Open Settings
</Link>
)}
diff --git a/src/components/workflows-view.tsx b/src/components/workflows-view.tsx
index 85ed945f..af21263e 100644
--- a/src/components/workflows-view.tsx
+++ b/src/components/workflows-view.tsx
@@ -92,7 +92,7 @@ function WorkflowCard({ wf, usedBy }: { wf: WF; usedBy: string[] }) {
<p className="text-[12px] break-words text-muted-foreground">
Custom nodes:{" "}
{wf.customNodes.map((n, i) => (
- <a key={n.repo} href={n.repo} target="_blank" rel="noreferrer" className="text-brand-text hover:underline">
+ <a key={n.repo} href={n.repo} target="_blank" rel="noreferrer" className="text-brand-text underline underline-offset-2">
{n.name}
{i < wf.customNodes.length - 1 ? ", " : ""}
</a>
@@ -176,7 +176,7 @@ export function WorkflowsView({ routes = [] }: { routes?: ComfyRoute[] }) {
<span className="min-w-0 flex-1 basis-56">
{data.reachable ? "Connected to ComfyUI — model checkmarks below reflect what’s installed." : "ComfyUI is not reachable, so open-source runs fall back to demo output."}
</span>
- <Link href="/settings#comfyui" className="text-brand-text hover:underline">
+ <Link href="/settings#comfyui" className="text-brand-text underline underline-offset-2">
Server settings
</Link>
</div>