Skip to content

Commit e50c521

Browse files
committed
Add longer texts with sr-only
1 parent 15b6b1a commit e50c521

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/components/index-page/hero/index.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,8 @@ export function Hero() {
2828
</ul>
2929

3030
<div className="flex items-center gap-4">
31-
<Button
32-
href="/learn"
33-
className="max-sm:w-full"
34-
aria-label="Learn more about GraphQL"
35-
>
36-
Learn more
31+
<Button href="/learn" className="max-sm:w-full">
32+
Learn more<span className="sr-only"> about GraphQL</span>
3733
</Button>
3834
</div>
3935
</div>

src/components/index-page/proven-solution/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ export function ProvenSolution() {
6666
className="mx-auto mt-8 w-fit lg:mt-16"
6767
// todo: this should link to the Business Agregator page
6868
href="/learn"
69-
aria-label="Learn more about GraphQL"
7069
>
71-
Learn more
70+
Learn more<span className="sr-only"> about GraphQL</span>
7271
</Button>
7372
</div>
7473
</div>

0 commit comments

Comments
 (0)