Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Replace some `hidden`s with `sr-only`

Tim Wilson0791798b6378
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/how-you-work-form.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/how-you-work-form.tsx
index 976a2be00b..bd45426de1 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/how-you-work-form.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/how-you-work-form.tsx
@@ -88,7 +88,7 @@ export function HowYouWorkForm({ partner }: { partner?: PartnerProps }) {
>
<input
type="checkbox"
- className="hidden"
+ className="sr-only"
checked={field.value.includes(earningStructure.id)}
onChange={(e) =>
e.target.checked
@@ -148,7 +148,7 @@ export function HowYouWorkForm({ partner }: { partner?: PartnerProps }) {
>
<input
type="checkbox"
- className="hidden"
+ className="sr-only"
checked={field.value.includes(salesChannel.id)}
onChange={(e) =>
e.target.checked
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/industry-interests-modal.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/industry-interests-modal.tsx
index 2b53347439..068e14358d 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/industry-interests-modal.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/industry-interests-modal.tsx
@@ -74,7 +74,7 @@ function IndustryInterestsModalInner({
>
<input
type="checkbox"
- className="hidden"
+ className="sr-only"
disabled={
isMaxSelected && !selectedInterests.includes(interest.id)
}