fix(dom.focusDisabled): only disable form controls inside a disabled fieldset #5589
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.41) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 46 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.230
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #5589"
general
weight: 0.35
AdzerKI
A disabled fieldset only disables the form controls inside it, but
dom.focusDisabledtreated every descendant as disabled. Now the ancestor fieldset check runs only for elements that can be disabled (the sameisDisabledAttrAllowedlist used for thedisabledattribute), so things like a scroll container withtabindex="0"stay focusable.Added a unit test for
dom.focusDisabledand an inapplicable case to thescrollable-region-focusableintegration test.Closes: #5588