feat(a11y): surface disabled-action reasons via Button title + aria-disabled #269

Merged
vas2000-work merged 1 commit from feat/mapps-262-disabled-reason-titles into main 2026-06-17 23:54:46 +02:00
Owner

Button now emits aria-disabled mirroring its native disabled state so assistive tech announces the control as unavailable, paired with the existing title prop that explains why.

Wired concise hover/focus reasons at the conditional-disable sites the UI-upgrade audit flagged: timesheet Submit (already approved / no time logged), Submit-for-Approval modal (certification unchecked), Reject modal (reason empty), RMM device-mapping and alert-rule "New" buttons (no RMM connection), the date-format Apply modal (unresolved format warnings), and the reports Run button (no measure selected). The raw reports button also gains aria-disabled.

#MAPPS-262

Button now emits aria-disabled mirroring its native disabled state so assistive tech announces the control as unavailable, paired with the existing title prop that explains why. Wired concise hover/focus reasons at the conditional-disable sites the UI-upgrade audit flagged: timesheet Submit (already approved / no time logged), Submit-for-Approval modal (certification unchecked), Reject modal (reason empty), RMM device-mapping and alert-rule "New" buttons (no RMM connection), the date-format Apply modal (unresolved format warnings), and the reports Run button (no measure selected). The raw reports button also gains aria-disabled. #MAPPS-262
feat(a11y): surface disabled-action reasons via Button title + aria-disabled
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m2s
Create release / Create release from merged PR (pull_request) Has been skipped
6f53aa8638
Button now emits aria-disabled mirroring its native disabled state so assistive tech announces the control as unavailable, paired with the existing title prop that explains why.

Wired concise hover/focus reasons at the conditional-disable sites the UI-upgrade audit flagged: timesheet Submit (already approved / no time logged), Submit-for-Approval modal (certification unchecked), Reject modal (reason empty), RMM device-mapping and alert-rule "New" buttons (no RMM connection), the date-format Apply modal (unresolved format warnings), and the reports Run button (no measure selected). The raw reports button also gains aria-disabled.

#MAPPS-262
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
psa-systems/mokosh-apps!269
No description provided.