Skip to content

fix(idp): show keyboard focus on every control - #3732

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/idp-login-focus-visible
Oct 21, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/idp-login-focus-visible

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Fixes an accessibility violation (WCAG 2.4.7): keyboard focus was invisible on every Material UI control in the IdP, not only the login button. app.css hides MUI's focus ripple and button shadows, so a general :focus-visible ring replaces them. The logo link gets a two-tone ring that also works on a custom light background image, and the inputs keep their existing focus style. Mouse and touch show no ring. Fixes #3731.

Control Before After
Log in
Account chooser
Consent cancel
Sign out
Retry
Logo, light background

@codacy-production

codacy-production Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a303d7f) 92019 23215 25.23%
Head commit (a8f9d4a) 92019 (+0) 23215 (+0) 25.23% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3732) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@AlexAndBear
AlexAndBear marked this pull request as draft October 20, 2026 13:12
@AlexAndBear AlexAndBear changed the title fix(idp): show keyboard focus on primary buttons fix(idp): show keyboard focus on every control Oct 20, 2026
@AlexAndBear
AlexAndBear marked this pull request as ready for review October 20, 2026 13:55
@AlexAndBear
AlexAndBear merged commit 8acaef2 into main Oct 21, 2026
61 checks passed
@AlexAndBear
AlexAndBear deleted the fix/idp-login-focus-visible branch October 21, 2026 09:06
@openclouders openclouders mentioned this pull request Oct 21, 2026
schweigisito pushed a commit that referenced this pull request Oct 21, 2026
* fix(idp): show keyboard focus on primary buttons

* fix(idp): show keyboard focus on every control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Login button has no visible keyboard focus indicator

2 participants