diff --git a/.lighthouserc.json b/.lighthouserc.json index bf57ec409a..9ad5381fe5 100644 --- a/.lighthouserc.json +++ b/.lighthouserc.json @@ -16,7 +16,7 @@ }, "assert": { "assertions": { - "categories:accessibility": ["warn", { "minScore": 0.9 }] + "categories:accessibility": ["warn", { "minScore": 1 }] } }, "upload": { diff --git a/app/components/ProvenanceBadge.vue b/app/components/ProvenanceBadge.vue index 4d01c12047..527a7fd09d 100644 --- a/app/components/ProvenanceBadge.vue +++ b/app/components/ProvenanceBadge.vue @@ -22,7 +22,7 @@ const providerLabels: Record = { :href="`https://www.npmjs.com/package/${packageName}/v/${version}#provenance`" target="_blank" rel="noopener noreferrer" - class="inline-flex items-center gap-1 text-xs font-mono text-fg-muted hover:text-fg transition-colors duration-200" + class="inline-flex items-center justify-center gap-1 text-xs font-mono text-fg-muted hover:text-fg transition-colors duration-200 min-w-6 min-h-6" :title=" provider ? `Verified: published via ${providerLabels[provider] ?? provider}` diff --git a/app/pages/[...package].vue b/app/pages/[...package].vue index dbe71d1747..bc79a7c135 100644 --- a/app/pages/[...package].vue +++ b/app/pages/[...package].vue @@ -387,7 +387,7 @@ defineOgImageComponent('Package', { :href="`https://www.npmjs.com/package/${pkg.name}/v/${displayVersion.version}#provenance`" target="_blank" rel="noopener noreferrer" - class="inline-flex items-center gap-1.5 text-fg-muted hover:text-fg transition-colors duration-200" + class="inline-flex items-center justify-center gap-1.5 text-fg-muted hover:text-fg transition-colors duration-200 min-w-6 min-h-6" title="Verified provenance" >