The remaining admin tables scroll from the keyboard, as Usage, Users and Audit do (#367) #1051
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/367-admin-table-regions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #367; follows #1050.
Summary
Four admin tables were wrapped in
.tscrollwith no role, name or tab stop, so a keyboard user on a narrow screen could not scroll them (WCAG 2.1.1, axescrollable-region-focusable):#1050's scans passed them only because the seeded data does not overflow. Each now gets the pattern Usage, Users and Audit already use:
role="region", anaria-labelandtabIndex={0}. Nothing visible changes except a focus ring when the region is tabbed to.The
jsx-a11y/no-noninteractive-tabindexrule warns ontabIndexon a region; the existing regions draw the same warning. Allowingregionin that rule's roles would be a separate lint-config change.Changelog
changelog.d/367-admin-table-regions.fixed.mdTest plan
AdminHealth,AdminNotices,AdminBackupandAdminUsers: 4 files, 22 passed. The first three gain the "named region, tabindex 0" assertion Usage's test uses.🤖 Generated with Claude Code