diff --git a/deploy/gitea-a11y/custom/templates/user/auth/signin_inner.tmpl b/deploy/gitea-a11y/custom/templates/user/auth/signin_inner.tmpl new file mode 100644 index 00000000..8baec224 --- /dev/null +++ b/deploy/gitea-a11y/custom/templates/user/auth/signin_inner.tmpl @@ -0,0 +1,96 @@ +{{/* + Gitea a11y fix: R1 — Password visibility toggle + R2 — aria-required + + Override of user/auth/signin_inner.tmpl + Adds: + - Eye icon toggle to show/hide password content + - aria-required="true" on required fields + - Proper label associations + + Deploy to: custom/templates/user/auth/signin_inner.tmpl +*/}} +{{template "base/head" .}} +
+
+

{{.locale.Tr "sign_in"}}

+ +
+ {{.CsrfTokenHtml}} + + {{/* a11y R2: aria-required on username field */}} +
+ + +
+ + {{/* a11y R1: Password field with visibility toggle */}} +
+ +
+ + +
+
+ +
+ +
+ + {{if .EnableOAuth2}} +
+ + {{end}} +
+
+
+ + +{{template "base/footer" .}}