Skip to content

Admin, UI: Improve accessibility and testability#160

Merged
ptoussai merged 2 commits intomainfrom
fix/admin-label-accessibility
Apr 13, 2026
Merged

Admin, UI: Improve accessibility and testability#160
ptoussai merged 2 commits intomainfrom
fix/admin-label-accessibility

Conversation

@ptoussai
Copy link
Copy Markdown
Contributor

@ptoussai ptoussai commented Apr 2, 2026

Add ARIA attributes, semantic roles, and proper label linkage across 22 components to enable reliable semantic locators and improve screen reader support.

@ptoussai ptoussai force-pushed the fix/admin-label-accessibility branch 3 times, most recently from 1222ac9 to 4531208 Compare April 2, 2026 11:34
@ptoussai ptoussai marked this pull request as draft April 2, 2026 12:03
@ptoussai ptoussai force-pushed the fix/admin-label-accessibility branch from 7c12623 to 2719253 Compare April 3, 2026 12:08
Add ARIA attributes, semantic roles, and proper label linkage across
22 components to enable reliable semantic locators and improve screen
reader support.
@ptoussai ptoussai changed the title feat(admin,ui): improve accessibility and testability Admin, UI: Improve accessibility and testability Apr 3, 2026
@ptoussai ptoussai force-pushed the fix/admin-label-accessibility branch from 2719253 to 6c55302 Compare April 3, 2026 12:09
Copy link
Copy Markdown
Contributor

@lehni lehni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Written by Claude

Solid accessibility pass — ARIA roles and states are used correctly throughout. Two minor observations below, neither blocking.

.dito-list(
v-if="isReady"
:id="dataPath"
role="region"
Copy link
Copy Markdown
Contributor

@lehni lehni Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aria-label is set here and again on the inner table with the same value — screen readers may announce it twice. Consider only labeling the table or using aria-labelledby to share a single label element.

.dito-tabs
.dito-tabs(role="tablist")
template(
v-for="(tabSchema, key) in tabs"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tab pattern is correct (role="tab", aria-selected, tabindex), but the corresponding tab panels should ideally have role="tabpanel" with aria-labelledby pointing back to the tab. Could be a follow-up.

@lehni
Copy link
Copy Markdown
Contributor

lehni commented Apr 9, 2026

@ptoussai I couldn't help and had to test reviewing :)

@ptoussai ptoussai marked this pull request as ready for review April 13, 2026 13:02
@ptoussai ptoussai merged commit 51e9d40 into main Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants