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

Right-align numeric fields #9677

Open
1ec5 opened this issue May 31, 2023 · 0 comments
Open

Right-align numeric fields #9677

1ec5 opened this issue May 31, 2023 · 0 comments
Labels
field An issue with a field in the user interface localization Adapting iD across languages, regions, and cultures usability An issue with ease-of-use or design

Comments

@1ec5
Copy link
Collaborator

1ec5 commented May 31, 2023

#8769 changed the behavior of numeric fields to accept numbers in the user’s language instead of POSIX English. This is a significant change to users of some languages, who may have formed muscle memory around entering raw tag values in the non-raw field over many years. I believe even these users would be accustomed to entering numbers in their language in other Web applications, due to the prevalence of <input type="number">. However, we need to clue them into the fact that the behavior has suddenly changed.

Since we didn’t first prime the user by applying a monospaced font to numeric fields for a release or two, as suggested in #8769 (comment), how about right-aligning numeric fields? This is a common practice in UIs on many platforms, not to mention on calculators. It would make a clearer distinction between real numeric fields and those that happen to take numbers most of the time, a point that even confuses yours truly: #3615 (comment). That said, it would have little effect in right-to-left languages where the fields are already right-aligned.

@1ec5 1ec5 added usability An issue with ease-of-use or design localization Adapting iD across languages, regions, and cultures labels May 31, 2023
@tyrasd tyrasd added the field An issue with a field in the user interface label May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
field An issue with a field in the user interface localization Adapting iD across languages, regions, and cultures usability An issue with ease-of-use or design
Projects
None yet
Development

No branches or pull requests

2 participants