Search

🚫 Multiple Selects

A good point by Mayank:

The multiple attribute on <select> should pretty much never be used. It’s like the polar opposite of single <select>, where instead of universal familiarity, it has universal unfamiliarity. Perhaps its only saving grace is that I have yet to encounter this attribute in any codebase.

HTML: The Bad Parts

It’s pretty fair to say that everyone knows how to use a native select element. But add that one little attribute, <select multiple>, and now hardly anyone knows how it works. It turns into a weird box UI that you rarely see, and you just need to know how it works. I had to test, and it seems on my machine holding the shift or command key will allow you turn on/off multiple options, but I wouldn’t be surprised if that varied from machine to machine and keyboard to keyboard, and it’s a totally different look/experience on mobile OSs.

Wanna learn Accessibility deeply?

Frontend Masters logo

We have a great course on accessibility from Jon Kuperman of Cloudflare. You'll learn how to make your websites more accessible to a wider audience. And if you want to make your React apps more accessible, we've got that too!

Leave a Reply

Your email address will not be published. Required fields are marked *