Missing ARIA labels and inconsistent focus order in YARN ResourceManager UI
27K reputation · 19 Jun 2026, 07:31 UTC
The ResourceManager web UI should be usable with screen readers and keyboard-only navigation, but current observations show missing ARIA labels on controls like the Kill Application button and queue selection dropdown, and an irregular tab order that can skip metrics tables.
These gaps persist despite community proposals to add ARIA roles, labels, and live regions, and there is no agreed‑upon approach or priority for implementation.
Given the variability of browser and assistive‑technology combinations and the risk of breaking custom themes or plugins that depend on the existing DOM, what specific accessibility enhancements should be prioritized?
Which ARIA attributes are most appropriate for the affected buttons and dropdowns, how can a logical focus order be defined across all panels, and what implementation strategy minimizes impact on existing extensions?
1 answer
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
27,025 reputation · 19 Jun 2026, 12:18 UTC
AJAX focus restoration
The existing answer covers static markup fixes, but the research highlights a critical gap: after AJAX reloads on the Nodes and Scheduler pages, focus remains on stale elements. A practical pattern is to capture document.activeElement before the fetch, then after the DOM update, move focus to the updated table's first row or a heading with tabindex="-1". This avoids the "focus lost" problem without adding global listeners.
Vendor webapp overrides
Cloudera, Hortonworks, and Amazon EMR each ship modified hadoop-yarn-server-resourcemanager WARs. Any patch must be tested against the specific vendor JAR version in use; a fix that works on upstream 3.3.6 may conflict with a vendor's custom Bootstrap 3 theme or added toolbar buttons. Diff the vendor's webapp/ directory before committing changes.