We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6596a commit cb64487Copy full SHA for cb64487
pcweb/pages/landing/views/social_marquee.py
@@ -90,10 +90,6 @@ class Social:
90
91
92
def social_card(social: Social) -> rx.Component:
93
- aria_label = f"Read {social.name}'s testimonial"
94
- if social.url and "ycombinator.com" in social.url:
95
- aria_label = f"Read {social.name}'s full post on Hacker News"
96
-
97
return rx.el.div(
98
social.text,
99
rx.el.div(
@@ -124,7 +120,7 @@ def social_card(social: Social) -> rx.Component:
124
120
to=social.url,
125
121
target="_blank",
126
122
class_name="absolute inset-0",
127
- custom_attrs={"aria-label": aria_label},
123
+ custom_attrs={"aria-label": f"Read {social.name}'s testimonial"},
128
),
129
ui.icon(
130
"ArrowUpRight01Icon",
0 commit comments