




























Yesterday, I wrote about how I reason about developer needs and the kinds of data I take into account. Unsurprisingly, many of you wondered what kind of twitter polls I was talking about.
Between 100 and 2000 developers answered most of these questions.

BIG CAVEAT: twitter polls have issues like no demographics info, audience bias, only 4 responses allowed, and strict character limits on questions and responses. They absolutely can’t be used as a source of truth. However, they are great for temperature checks to challenge my own assumptions. More like a hint that it would interesting (or not) to run a follow up survey on a random cohort of developers. All of these responses bias toward the ~50K people who follow me on twitter.
Some folks believe that if you can build something in JS (or even canvas), we shouldn’t create HTML or CSS APIs. I wanted to see if developers want higher level components or prefer to have frameworks manage everything. [Poll, Poll take 2]
63.4% of devs would like to have higher level components while 19.3% prefer exclusively JS for components. The way I asked the question might have biased the response (grow and evolve are very positive sounding words in any context). I asked again.
Question (biased language): Should HTML get new elements/components, inspired by design systems? e.g. tabs, accordion, type ahead, carousel (by React I mean any framework, 25 chars, ugh)
3,879 votes
Question (less biased language): Should HTML get new controls like <accordion>, <tooltip>, <carousel>, <tabs>, or <typeahead> or leave that to JS frameworks?
5,430 votes
What should we do with our default styles during the form controls refresh project? [poll]
Dark check on a light background, but enough variation that it needs to be styleable.
Design system folks… a checked checkbox should have what color background?
592 votes
Will Container Queries work with responsive images? What do designers hope to achieve? Will they change out creative assets or just shrink the images they have? [poll]
This intersection of features doesn’t match the developer’s expectations. We need to fast follow with something that can change the constraints completely like a responsive image format.
Question: When using container/element queries, I would expect images that have srcset to calculate which image to request based on… (pls share use cases in replies!)
816 votes
Question: Would you change the creative for an image or video primarily based on device size, the size of its parent in the HTML, or both? e.g. Imagine a product image is in a 3-column grid vs full width. Would you choose a different creative in the two contexts?
569 votes
I was pre-testing a question I wanted to run in a full web developer survey. Web developers express very high devsat scores, but I have a hunch that if we ask them about their feelings about themselves and their own outcomes we might hear a more nuanced story. [poll]
I mostly asked out of curiosity, so I didn’t ask any follow up questions.
Question: Writing a smooth and responsive website is as easy as native.
2,143 votes
When we think about building devtools, we can focus on debugging and/or authoring. Do JS vs CSS authors need different things? I had a hunch that debugging and authoring are not really separate processes for CSS and I wanted to tease that out. [poll]
71.3% of CSS authors write 1-10 lines of code before checking the results in the browser, so their authoring flows are very similar to their debugging flows. I’d focus on biggest pain points, like layout debugging, rather than differentiate by stage of development.
Based on their replies, developers (71.3 % of CSS authors; 35.7 % of JS authors) are relying on the hot-reload mechanisms of their tech stack to rapidly prototype and test new features.
Side note: typescript authors may write more code before checking it in the browser. Does typescript have different needs?
Question: How many lines of CSS do you write before checking the result in the browser?
957 votes
Question: How many lines of JS do you write before checking the result in the browser?
417 votes
How much effort does it take to create a design system? If the browser could do more, how much time could we save developers? Babylist said their product image zoom and carousel components took 6-8 SWE weeks to create. I wanted to be sure I hadn’t inadvertently cherry picked an example with unique challenges. [poll]
I hadn’t cherry picked Babylist. If anything, it was worse than expected. 70% of developers spent 6-18+ months creating their design system and 47% were unhappy with the outcome.
>40% have 3-8 complex components. So perhaps we can help developer productivity by focusing on these more complex components?
Question: If you’ve built a design system, how long did it take to get it mostly complete and adoptable?
394 votes
Question: How many people work on your design system full time?
210 votes
Question: How many people work on your design system part time?
198 votes
Question: How many teams rely on your design system to build their features?
142 votes
Question: This is a hard one to admit, but lots of design systems fail or co-exist… how many design systems does your company have? Dead/defunct systems count.
140 votes
Question: How many components in your design system are at least as complex as tabs or accordion?
87 votes
Question: True or false: I’m not happy with my design system. I’d like to replace it or make major changes.
75 votes
Question: True or false: we have the right number of design systems at my company.
72 votes
Responsive design fundamentally changes ARIA roles, how is the developer community reasoning about shifts in these patterns? What is the current best practice? [poll]
Even the accessibility community doesn’t agree on best practices. We probably need to do something bigger to unblock the situation. For example, baking a11y into browser primitives so developers don’t need to do anything.
Lots of responses assumed I didn’t know what I was talking about. Very interesting for understanding the DX of accessibility work.
Question: Q for A11y friends: imagine a component that displays as tabs on desktop, accordion at narrow mobile widths. – What a11y semantics do you use? – Why?
608 votes
Do developers see canvas as the future of how Apps will be built? Or a tool to use within web applications that are otherwise written in higher level web technologies? Do they want to build whole Apps out of canvas? [canvas poll]
79.6% of developers don’t want to write whole apps in canvas and only 3.6% have tried writing a whole application in canvas and would do it again. Canvas may be useful for specialized apps that have a reason they can’t run using HTML/CSS/JS.
Question: If you build web things, have you used canvas for an application? (If yes, reply with how you used it)
1,568 votes
Question: Follow up question: have you used canvas to build an entire app?
250 votes
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。