Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms: allow switching between themed and browser native date pickers #41811

Open
simison opened this issue Feb 14, 2025 · 2 comments
Open

Forms: allow switching between themed and browser native date pickers #41811

simison opened this issue Feb 14, 2025 · 2 comments
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Package] Forms [Pri] Normal [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@simison
Copy link
Member

simison commented Feb 14, 2025

Browser's date picker is now widely supported and pretty good and has excellent accessibility out of the box.

It only lacks customization options for styles, but it already has some.

We should consider defaulting to it soon, but meanwhile, we can add it as a Style option to the Date block.

Themed
Image

Browser native
Image

There could be better style names than these, but just to illustrate the idea:

Image

I considered "Styled" and "Unstyled" but it's not quite correct since you can apply some styles to the native one, too.

@github-actions github-actions bot added [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Custom CSS [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. labels Feb 14, 2025

This comment has been minimized.

This comment has been minimized.

@simison simison added [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Block] Contact Form Form block (also see Contact Form label) [Package] Forms [Pri] Normal and removed [Experiment] AI labels added [Feature] Custom CSS labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Package] Forms [Pri] Normal [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

1 participant