fix/webui: label every form input and add aria labels in the admin templates #78

Merged
pti merged 1 commit from fix/webui-template-a11y into main 2026-10-19 16:17:56 +02:00
Owner

Closes #68, part of the SonarQube cleanup in #73. Sonar flagged 14 inputs without an associated label across rules.html, list.html and login.html, and four nav landmarks in calls.html and list.html without an accessible name. Every flagged input now has a unique id and a visually hidden label element, using a standard clip-pattern visually-hidden class appended to style.css. Ids inside range loops are built from the tool name, rule kind and rule index, and the constraint form derives its id prefix from tool, index and flag so each row stays unique. The type select in the constraint form is labelled too. The four nav elements get aria-label values naming the tab bar and the two filters. No input name, form action or template data reference changed, verified by diffing the name attributes per file, and no Go file or test was touched. All gates pass. 🤖 Generated with Claude Code

Closes #68, part of the SonarQube cleanup in #73. Sonar flagged 14 inputs without an associated label across rules.html, list.html and login.html, and four nav landmarks in calls.html and list.html without an accessible name. Every flagged input now has a unique id and a visually hidden label element, using a standard clip-pattern visually-hidden class appended to style.css. Ids inside range loops are built from the tool name, rule kind and rule index, and the constraint form derives its id prefix from tool, index and flag so each row stays unique. The type select in the constraint form is labelled too. The four nav elements get aria-label values naming the tab bar and the two filters. No input name, form action or template data reference changed, verified by diffing the name attributes per file, and no Go file or test was touched. All gates pass. 🤖 Generated with Claude Code
fix(webui): label every form input and add aria labels in the admin templates
All checks were successful
Lint / lint (pull_request) Successful in 1m17s
Lint / sonarqube (pull_request) Has been skipped
54cf468ffa
Closes #68.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
pti merged commit 47be0a23d5 into main 2026-10-19 16:17:56 +02:00
pti deleted branch fix/webui-template-a11y 2026-10-19 16:17:56 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pti/wraptool!78
No description provided.