Skip to content

Commit d229ba2

Browse files
committed
seo + a11y fixes
1 parent ee0e9a0 commit d229ba2

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

src/components/SplitButton.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function SplitButton(props: Props) {
3939
<Popover.Trigger
4040
class="group border rounded-md rounded-s-none hover:bg-fore-base/5 focus-visible:(outline-none ring-2 ring-fore-base ring-offset-2 ring-offset-back-base) p-2 disabled:(pointer-events-none opacity-50)"
4141
disabled={props.disabled}
42+
aria-label="More download options"
4243
>
4344
<ChevronDown
4445
size={20}

src/components/editor/QrEditor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export function Editor(props: Props) {
461461
label={key}
462462
active={renderKey() === key}
463463
>
464-
<img class="rounded-sm" src={thumbs[key]} />
464+
<img class="rounded-sm" src={thumbs[key]} alt="" />
465465
</Preview>
466466
</ContentMenuTrigger>
467467
)}

src/entry-server.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ export default createHandler(() => (
99
<meta charset="utf-8" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1" />
1111
<link rel="icon" href="/favicon.svg" />
12+
<title>qrframe - a code based QR code designer</title>
13+
<meta
14+
name="description"
15+
content="Create beautiful QR codes using Javascript code with this customizable QR code generator."
16+
/>
1217
{assets}
1318
</head>
1419
<body class="bg-back-base text-fore-base [--un-default-border-color:fg-subtle]">

src/routes/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Temp() {
3636
});
3737
});
3838

39-
let qrPreview: HTMLDivElement;
39+
let qrPreview!: HTMLDivElement;
4040
let textRef: HTMLTextAreaElement;
4141

4242
const [textFocused, setTextFocused] = createSignal(false);

0 commit comments

Comments
 (0)