Skip to content

Keep focus visible in native date and time inputs - #114

Merged
pournasserian merged 4 commits into
mainfrom
74-native-picker-checks
Nov 28, 2026
Merged

pournasserian merged 4 commits into
mainfrom
74-native-picker-checks

Conversation

@pournasserian

@pournasserian pournasserian commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Refs #74.

  • Keep the date, local date-time, and time control's outer focus ring visible while a native segment or picker has focus, even when the input does not match :focus-visible. Other controls keep their existing focus behavior.
  • Clear the populated optional date and time through their native keyboard controls in the JavaScript-disabled regression. Save must still return HTTP 200, submit both fields as empty strings, and return a typed model with both values empty. No validation bypass.

Final head df050850427fb5a330c17100cea5079b0343e457: Release build, local package and joined CSS checks, design contrast, and 21 targeted Windows browser tests (7 each in Chromium, Firefox, and WebKit; no skips). The browser tests exercise focus paint and editing and the real JavaScript-disabled POST. Gallery startup also passed in all three render modes (3/3 in Chromium). Final combined hosted nightly is pending.

Prior Linux WebKit evidence: run 46171503641 passed all four formerly failing rows on the diagnostic head a14f2aa. That head predated the two unrelated main-branch test repairs and is not the final combined run. Playwright WebKit is not Safari.

Refs #74

@pournasserian pournasserian left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinator review of df05085 on d6c7969: four scoped files; verbose diagnostic code is absent. Evidence on Linux isolated a real missing wrapper focus ring. Date/time :focus-within now uses the existing tokenized outline. The test clears native segments by keyboard, commits edits by Tab, then requires that the normal Save button produces HTTP 200, empty wire values and typed nulls. It does not bypass validation or relax the painted focus assertion. Original Linux cases passed on the diagnostic precursor. Exact-head PR CI and full hosted Firefox/WebKit must both pass before merge.

@pournasserian
pournasserian merged commit bb32981 into main Nov 28, 2026
6 checks passed
@pournasserian

Copy link
Copy Markdown
Member Author

Final combined Linux matrix: https://github.com/fluentcms/FluentCMS.Components/actions/runs/46172629287 passed on df05085. Both Firefox and WebKit passed 407 with no failures and one explicit standalone skip each. PR CI on the same head passed 181 component and 407 Chromium tests. WebKit is not Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant