Skip to content

Fix/keyboard navigation custom components - #196

Merged
Mosas2000 merged 14 commits into
mainfrom
fix/keyboard-navigation-custom-components
May 19, 2026
Merged

Fix/keyboard navigation custom components#196
Mosas2000 merged 14 commits into
mainfrom
fix/keyboard-navigation-custom-components

Conversation

@Mosas2000

Copy link
Copy Markdown
Owner

Components converted from div/span to button:

MarketFilter.tsx — CategoryOption and SortOptionItem
AMMComponents.tsx — AMMPoolCard (already done in prior PR)
ResponsiveChart.tsx — CompactIndicatorPanel indicator badge (already done)
RBACExamples.tsx — APIServiceExample and ValidationExample interactive divs
role="button" divs given onKeyDown + proper attributes:

WizardProgress.tsx — step items (Enter/Space + aria-current)
DisputeCard.tsx — expand toggle (Enter/Space + aria-expanded)
OracleCard.tsx — compact and full card variants
ProposalCard.tsx — proposal card
OracleHealthDashboard.tsx — provider cards
IndicatorPanel.tsx — indicator header expand toggle
DrawingToolsPanel.tsx — tool header expand toggle
RoleManagementDashboard.tsx — role selection cards
ChartLegend.tsx — indicator toggle items
Modal/overlay backdrops given Escape key + role="presentation":

MobileBottomSheet.tsx
MobileModal.tsx
NetworkSwitchDialog.tsx
GovernancePage.tsx — proposal detail modal and delegate modal (also added role="dialog" + aria-modal)
Sortable table headers:

AuditLogViewer.tsx — tabIndex, onKeyDown, aria-sort on all three sortable th elements

Closes #163

@Mosas2000
Mosas2000 merged commit 87cbe3e into main May 19, 2026
0 of 3 checks passed
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.

Add keyboard navigation support to custom components

1 participant