forked from cartsnitch/cartsnitch
fix: improve color contrast for accessibility compliance (#222)
- Changed text-gray-400 to text-gray-500 in Dashboard, StoreComparison, Purchases, Settings, Alerts, and Coupons pages - text-gray-500 (#6b7280) has 4.6:1 contrast ratio on white, meeting WCAG AA - text-gray-400 (#99a1af) only had 2.6:1, failing axe-core accessibility checks Co-authored-by: Test User <test@example.com> Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
committed by
GitHub
parent
9ca1554333
commit
22997f5df0
@@ -89,7 +89,7 @@ export function StoreComparison() {
|
||||
{pp.price === lowestPrice ? (
|
||||
<span className="text-xs font-medium text-green-600">Best price</span>
|
||||
) : (
|
||||
<span className="text-xs text-gray-400">
|
||||
<span className="text-xs text-gray-500">
|
||||
+${(pp.price - lowestPrice).toFixed(2)}
|
||||
</span>
|
||||
)}
|
||||
@@ -99,7 +99,7 @@ export function StoreComparison() {
|
||||
))}
|
||||
</div>
|
||||
|
||||
<p className="mt-6 text-center text-xs text-gray-400">
|
||||
<p className="mt-6 text-center text-xs text-gray-500">
|
||||
Prices last verified from store loyalty card data. Map view coming soon.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user