From f049ed52cbdbffad072fafa72f43b4db7276b42d Mon Sep 17 00:00:00 2001 From: hamki Date: Mon, 26 Jan 2026 17:27:24 +0800 Subject: [PATCH] a11y: add ARIA attributes to TOC sidebar for accessibility Add role="navigation" and aria-label to the file view sidebar panel to improve accessibility for screen readers and assistive technologies. --- templates/repo/view_file.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index da9ad863a7..8b1e632433 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -143,7 +143,7 @@ {{end}} {{if .FileSidebarHTML}} -