From 42f686fff1fd171af6875eb4a8e215996fb6daef Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Mon, 14 Nov 2022 21:37:01 +0000 Subject: [PATCH] Remove `href="javascript:;"` in save topics button To use an anchor tag as a button and have it be accessible I added `role="button" tabindex="0"`, [reference](https://stackoverflow.com/a/10510353/7414734). --- templates/repo/home.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 6b4a0008d6cd..a798d3cc9e85 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -47,7 +47,7 @@
- {{.locale.Tr "repo.topic.done"}}