Skip to content

Commit d3b18f0

Browse files
committed
Accesibilidad
1 parent 7093bcb commit d3b18f0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

link_bio/link_bio/components/featured_link.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ def featured_link(featured: Featured) -> rx.Component:
1010
rx.image(
1111
src=featured.image,
1212
border_radius=Size.DEFAULT.value,
13-
background=Color.CONTENT.value
13+
background=Color.CONTENT.value,
14+
width="100%",
15+
height="auto",
16+
alt=f"Imagen destacada para: {featured.title}"
1417
),
1518
rx.text(
1619
featured.title,

link_bio/link_bio/components/footer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def footer() -> rx.Component:
3434
rx.image(
3535
src="/icons/github.svg",
3636
height=Size.LARGE.value,
37-
width=Size.LARGE.value
37+
width=Size.LARGE.value,
38+
alt="Logo GitHub"
3839
),
3940
rx.text(
4041
"BUILDING SOFTWARE WITH ♥ FROM GALICIA TO THE WORLD.",

0 commit comments

Comments
 (0)