Giter VIP home page Giter VIP logo

selection-box's Introduction

Selection Box

Javascript plugin which builds an html super-structure on top of native html select boxes allowing for greater styling flexibility than is possible with native select elements.

Running Nightwatch tests

Run Selenium server

cd bin cd into folder is where selenium Jar is stored

java -jar selenium-server-standalone-{VERSION}.jar

Run Nightwatch

npm run behavioural

Selenium console found at

http://localhost:4444/wd/hub/static/resource/hub.html

Requirements

  • Should work exactly in the same way as a native select element
  • Should work on as many browsers/device as possible
  • Should provide fallback for non supporting browsers/devices
  • Should be usable by screen readers
  • Should be usable using keyboard
  • Should have a suite of unit and behavioural tests
  • Should support searching for options by typing initial characters

Todo:

  • research how to style native select element
  • catalogue entire list of behaviours of select element
  • research correct aria roles for select box
  • learn to use a screen reader
  • best way of handling keyevents
  • How to run tests across multiple browsers

Resources

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.