James Edwards on Nostr: Writing up some best-practice patterns for form controls, and I've assembled this ...
Writing up some best-practice patterns for form controls, and I've assembled this list of native HTML controls that should never be used (because they're not universally supported, and/or their native UI has accessibility problems):
<input type="color">
<input type="date">
<input type="datetime">
<input type="datetime-local">
<input type="number">
<input type="time">
<input type="week">
Any debate on those? Anything I've missed?
#accessibility #a11y
Published at
2024-04-20 11:46:09Event JSON
{
"id": "0ee8384e0a9c683febc477c0aa4ba05e7d9f93851efe31f0e0b6680cafd78f0a",
"pubkey": "5d78a900466c87ad276db31284220f3ac3611f9d40d4e0f9adabe87673b35e0a",
"created_at": 1713613569,
"kind": 1,
"tags": [
[
"t",
"accessibility"
],
[
"t",
"a11y"
],
[
"proxy",
"https://mastodon.world/users/siblingpastry/statuses/112303378907979843",
"activitypub"
]
],
"content": "Writing up some best-practice patterns for form controls, and I've assembled this list of native HTML controls that should never be used (because they're not universally supported, and/or their native UI has accessibility problems):\n\n\u003cinput type=\"color\"\u003e\n\u003cinput type=\"date\"\u003e\n\u003cinput type=\"datetime\"\u003e\n\u003cinput type=\"datetime-local\"\u003e\n\u003cinput type=\"number\"\u003e\n\u003cinput type=\"time\"\u003e\n\u003cinput type=\"week\"\u003e\n\nAny debate on those? Anything I've missed?\n\n#accessibility #a11y",
"sig": "7c619f6f7c6e69e1d9570582923635ab4b159847ae1a3157d8a77d541308a120ddf55da93022204b2d3cb6bada56ad16cdecd91ce69e8cd6da91dc52a9085877"
}