Skip to content

fix(#3549): add focus-visible indicators to Select menu#3561

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3549-add-focus-indicators
Open

fix(#3549): add focus-visible indicators to Select menu#3561
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3549-add-focus-indicators

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Add visible focus ring styles to the "top N" Select menu in adoption insights. The select trigger and dropdown menu items now show a 2px primary-colored outline on :focus-visible, restoring keyboard accessibility (WCAG 2.4.7 Focus Visible).

The existing :focus style that sets backgroundColor to transparent is preserved, and a new :focus-visible rule adds the outline so keyboard-only users see a clear focus indicator without affecting mouse interactions.


Closes #3549

Post-script verification

  • Branch is not main/master (agent/3549-add-focus-indicators)
  • Secret scan passed (gitleaks — b57a430ea0c48b4dff885dc812072d5eccb6e0a2..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Add visible focus ring styles to the "top N" Select menu in
adoption insights. The select trigger and dropdown menu items
now show a 2px primary-colored outline on :focus-visible,
restoring keyboard accessibility (WCAG 2.4.7 Focus Visible).

The existing :focus style that sets backgroundColor to
transparent is preserved, and a new :focus-visible rule adds
the outline so keyboard-only users see a clear focus indicator
without affecting mouse interactions.

Closes #3549
@rhdh-gh-app

rhdh-gh-app Bot commented Jun 24, 2026

Copy link
Copy Markdown

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-adoption-insights

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-adoption-insights workspaces/adoption-insights/plugins/adoption-insights none v0.8.3

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.82%. Comparing base (b57a430) to head (8a5d1e2).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3561   +/-   ##
=======================================
  Coverage   53.82%   53.82%           
=======================================
  Files        2277     2277           
  Lines       87047    87049    +2     
  Branches    24387    24387           
=======================================
+ Hits        46850    46852    +2     
+ Misses      38660    38659    -1     
- Partials     1537     1538    +1     
Flag Coverage Δ *Carryforward flag
adoption-insights 83.72% <100.00%> (+0.01%) ⬆️
ai-integrations 67.95% <ø> (ø) Carriedforward from b57a430
app-defaults 69.79% <ø> (ø) Carriedforward from b57a430
augment 46.39% <ø> (ø) Carriedforward from b57a430
boost 68.41% <ø> (ø) Carriedforward from b57a430
bulk-import 72.46% <ø> (ø) Carriedforward from b57a430
cost-management 14.10% <ø> (ø) Carriedforward from b57a430
dcm 61.79% <ø> (ø) Carriedforward from b57a430
extensions 61.53% <ø> (ø) Carriedforward from b57a430
global-floating-action-button 71.18% <ø> (ø) Carriedforward from b57a430
global-header 59.71% <ø> (ø) Carriedforward from b57a430
homepage 49.92% <ø> (ø) Carriedforward from b57a430
install-dynamic-plugins 56.77% <ø> (ø) Carriedforward from b57a430
konflux 91.49% <ø> (ø) Carriedforward from b57a430
lightspeed 68.57% <ø> (ø) Carriedforward from b57a430
mcp-integrations 85.46% <ø> (ø) Carriedforward from b57a430
orchestrator 38.02% <ø> (ø) Carriedforward from b57a430
quickstart 63.76% <ø> (ø) Carriedforward from b57a430
sandbox 79.56% <ø> (ø) Carriedforward from b57a430
scorecard 83.96% <ø> (ø) Carriedforward from b57a430
theme 61.26% <ø> (ø) Carriedforward from b57a430
translations 7.25% <ø> (ø) Carriedforward from b57a430
x2a 78.68% <ø> (ø) Carriedforward from b57a430

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b57a430...8a5d1e2. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

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.

Lack of focus ring or other visual focus indicators in "Top 3", "Top 5" or "All" dropdown in adoption insights

0 participants