Audit finds 76 text fields in one app share a single input component with mobile attribute gaps
A developer audited the 90 input and textarea tags across the Nakodo codebase and found 76 fields a user can type into, almost all built on two shared primitive components. The audit showed that the library's default font sizing keeps iOS Safari from zooming on focus, though the developer admits they kept it for appearance rather than by design. A shared calculator widget set every numeric field to a decimal keyboard, which suits CPM values but is wrong for whole-number counts like subscribers and views. The app also sets no enterKeyHint, autoCapitalize, autoCorrect or spellCheck attributes. The author's broader point is that a component library's defaults can handle mobile and accessibility concerns that teams only discover by auditing.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in