w3c / w3c/csswg-drafts

[css-forms] Mechanism to influence the localisation for temporal controls?

Open
#13,622 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

css-forms-1 HTML
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

It's been discusssed that we don't want to give authors individual control over the ordering of field-components and field-separators due to the internationalisation requirements. While this is understandable, is it potentially desirable to allow authors to override the chosen locale?

For example, I can set the html document's lang to en-GB but the date input still takes the OS/browser locale for deciding the order of the input.

Should we allow overriding this via e.g. a locale attribute or something?

I know this is probably more of a HTML discussion but figured I'd open it here to keep css-forms issues together for now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by reviewing the CSS Forms discussion about temporal-control localization and the example comparing document lang="en-GB" with the OS/browser locale. Done means the issue has a decided direction for whether and how authors can influence the chosen locale.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.