Improved accessibility

This commit is contained in:
Eduard Urbach 2019-09-04 12:33:32 +09:00
parent 40d12fc763
commit bee93732d6
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 2 additions and 2 deletions

View File

@ -30,5 +30,5 @@ component AnimeGridWithRelationScrollable(entries []*utils.AnimeWithRelatedAnime
component AnimeGridButton(anime *arn.Anime, user *arn.User)
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")

View File

@ -13,5 +13,5 @@
text-align center
color white
text-shadow 0 0 3px black !important
font-size 80%
font-size 90%
line-height 1.8em