Skip to content

Commit e4736fb

Browse files
committed
fix: some a11y issues
1 parent 42084fe commit e4736fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/pages/[...package].vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ defineOgImageComponent('Package', {
452452
class="i-solar-eye-scan-outline w-3.5 h-3.5 inline-block"
453453
aria-hidden="true"
454454
/>
455+
<span class="sr-only">Inspect dependency tree</span>
455456
</a>
456457
</dd>
457458
</div>
@@ -671,6 +672,7 @@ defineOgImageComponent('Package', {
671672
</div>
672673
</div>
673674
<button
675+
type="button"
674676
class="absolute top-3 right-3 px-2 py-1 font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
675677
@click="copyInstallCommand"
676678
>

0 commit comments

Comments
 (0)