loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Accessibility: Label Stars/Forks links in repo explore' (#2634) from fnetx/explore-label into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2634
Reviewed-by: Gusted <gusted@noreply.codeberg.org>

Gusted b0611071 2f78daa3

+6 -2
+4
options/locale/locale_en-US.ini
··· 357 357 [explore] 358 358 repos = Repositories 359 359 users = Users 360 + stars_one = %d star 361 + stars_few = %d stars 362 + forks_one = %d fork 363 + forks_few = %d forks 360 364 organizations = Organizations 361 365 search = Search 362 366 go_to = Go to
+2 -2
templates/explore/repo_list.tmpl
··· 37 37 </a> 38 38 {{end}} 39 39 {{if not $.DisableStars}} 40 - <a class="text grey flex-text-inline" href="{{.Link}}/stars">{{svg "octicon-star" 16}}{{.NumStars}}</a> 40 + <a class="text grey flex-text-inline" href="{{.Link}}/stars" aria-label="{{ctx.Locale.TrN .NumStars "explore.stars_one" "explore.stars_few" .NumStars}}">{{svg "octicon-star" 16}}{{.NumStars}}</a> 41 41 {{end}} 42 42 {{if not $.DisableForks}} 43 - <a class="text grey flex-text-inline" href="{{.Link}}/forks">{{svg "octicon-git-branch" 16}}{{.NumForks}}</a> 43 + <a class="text grey flex-text-inline" href="{{.Link}}/forks" aria-label="{{ctx.Locale.TrN .NumForks "explore.forks_one" "explore.forks_few" .NumForks}}">{{svg "octicon-git-branch" 16}}{{.NumForks}}</a> 44 44 {{end}} 45 45 </div> 46 46 </div>