Engineering Decisions · Junior · Question 12 of 12

The product needs an accessible date picker next week. Nobody on the team has built one, and the app already uses a maintained component library. What do you pick?

Show the answer

Correct answer: The date picker from the existing library

Explanation

A maintained component already handles keyboard use, focus and screen readers, which is weeks of hidden work. A custom picker fits a product whose core value is that widget and a team that can maintain it. The native input fits simple forms and is accessible by default, but its look can barely be restyled, so it fits only if the default appearance is acceptable.

Further reading

Problem with a question

Engineering Decisions · Junior · question 12

Test yourself

Take the Engineering Decisions · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz