Improved accessibility
This commit is contained in:
parent
40d12fc763
commit
bee93732d6
@ -30,5 +30,5 @@ component AnimeGridWithRelationScrollable(entries []*utils.AnimeWithRelatedAnime
|
|||||||
|
|
||||||
component AnimeGridButton(anime *arn.Anime, user *arn.User)
|
component AnimeGridButton(anime *arn.Anime, user *arn.User)
|
||||||
if user != nil && !user.AnimeList().Contains(anime.ID)
|
if user != nil && !user.AnimeList().Contains(anime.ID)
|
||||||
button.anime-grid-add-button.action(data-action="addAnimeToCollection", data-trigger="click", data-api="/api/animelist/" + user.ID, data-anime-id=anime.ID)
|
button.anime-grid-add-button.action(data-action="addAnimeToCollection", data-trigger="click", data-api="/api/animelist/" + user.ID, data-anime-id=anime.ID, aria-label="Add anime to my list")
|
||||||
RawIcon("plus")
|
RawIcon("plus")
|
@ -13,5 +13,5 @@
|
|||||||
text-align center
|
text-align center
|
||||||
color white
|
color white
|
||||||
text-shadow 0 0 3px black !important
|
text-shadow 0 0 3px black !important
|
||||||
font-size 80%
|
font-size 90%
|
||||||
line-height 1.8em
|
line-height 1.8em
|
Loading…
Reference in New Issue
Block a user