GithubHelp home page GithubHelp logo

Comments (6)

colinpmacarthur avatar colinpmacarthur commented on May 19, 2024

(Added to the project's Trello icebox.)

from uswds.

nacin avatar nacin commented on May 19, 2024

Yeah, <select multiple> is a terrible user experience, and browsers have done little to make it better, despite new UI/support for various HTML5 elements in the past few years.

Other very commonly used libraries include Chosen and Select2. Many of these solutions, notably, can be used for more than just multi-select. Specifically, what is often called "suggest" or "autocomplete".

I'll then just offer a differentiation there. "autocomplete" implies you are limited to the options being displayed, while "suggest" implies that you can also add an item that does not appear in the list (and it possibly becomes part of the list for the future).

And then you can add "multiple" into the mix, and this gives you a wide variety of use cases.

from uswds.

noahmanger avatar noahmanger commented on May 19, 2024

I've used Chosen, and while I like the interaction model, I had a couple concerns (and so actually removed it from the FEC project):

    1. It didn't seem to work with keyboard navigation, so not really accessible
    1. It was really cludgy to override the CSS and style it in a way that blended in with the site style

from uswds.

alex avatar alex commented on May 19, 2024

Without suggesting a specific implementation, a select-box-with-autocomplete component would be super valuable.

from uswds.

msecret avatar msecret commented on May 19, 2024

+1 for this idea.

from uswds.

Scotchester avatar Scotchester commented on May 19, 2024

Related discussion: 18F/accessibility#48

from uswds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.