Skip to content

MWPW-200684 - Fix focus indicator contrast on Generate button#849

Draft
vipu0303 wants to merge 1 commit into
stagefrom
MWPW-200684
Draft

MWPW-200684 - Fix focus indicator contrast on Generate button#849
vipu0303 wants to merge 1 commit into
stagefrom
MWPW-200684

Conversation

@vipu0303

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes WCAG 1.4.11 (Non-text Contrast) failure: the :focus outline on the Firefly "Generate" button (.unity-act-btn.gen-btn) was #005FCC against an adjacent #AEAFAE background, measuring 2.72:1 (fails the 3:1 minimum).
  • Changes the outline color to #0050A8 (3.52:1, confirmed by design in the ticket's comment thread) across all three prompt-bar widget variants that share this rule: prompt-bar.css, prompt-bar-style.css, prompt-bar-audio.css.
  • workflow-ai/widget.css has an identically-named selector but is a different product (Illustrator, not Firefly) and was intentionally left untouched.

Jira: https://jira.corp.adobe.com/browse/MWPW-200684

Test plan

  • Verify keyboard focus on the Generate button on the Firefly AI Painting page shows the new outline color
  • Confirm contrast ratio >= 3:1 with a contrast-checking tool
  • npm run lint:css — no new errors introduced (verified: lint issue counts unchanged before/after on all 3 files)

Focus outline on .unity-act-btn:focus failed WCAG 1.4.11 (2.72:1 against
#AEAFAE). Swapped to #0050A8 (3.52:1, confirmed by design) across the three
prompt-bar widget variants (default, style, audio) that share this rule.
@aem-code-sync

aem-code-sync Bot commented Jul 14, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

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.

1 participant