Git Product home page Git Product logo

rampak21 / dashboard-for-everybody Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasonwebb/dashboard-for-everybody

0.0 0.0 0.0 2.2 MB

Demo project of a real-time data dashboard showing effective design and dev techniques for making complex interfaces accessible for people with disabilities

Home Page: https://jasonwebb.github.io/dashboard-for-everybody/

License: MIT License

JavaScript 34.92% C++ 7.30% CSS 20.54% HTML 37.24%

dashboard-for-everybody's Introduction

Check out the documentation page for this project!


Screenshot of dashboard


A Dashboard for Everybody is a small, speculative demo project that shows how real-time dashboards, like those used for IoT systems, can be enhanced using accessible design and development practices.

It is intended to be an educational resource providing accessible solutions for common UI/UX challenges found in dashboards, like dealing with charts, working with asynchronous data, and handling dynamic content.

It was (mostly) built as part of IoT HackDay 2019 in St. Paul, MN by Jason Webb and John Haus.

Accessibility features

  • Fully operable via keyboard
  • Chart data is available to people using screen readers through visually-hidden tables.
  • Important asynchronous information (like the availability of input and output devices) is announced through live regions
  • All focusable and interactive elements have strong, consistent focus indicators
  • Meets WCAG 2.0 (Level AA) requirements
  • Works great on mobile devices and tablets, which are very popular among people with motor and visual conditions

Technical details

  • Vanilla ES6 JavaScript for interactivity, logic, and DOM manipulation
  • Chart.js for live sensor data charts
  • MQTT.js for communication with IoT-enabled input and output devices
  • Semantic HTML5
  • Light usage of ARIA based on WAI-ARIA Authoring Practices and insight from real users
  • Gulp-based build system
  • Sass for styling, organized using the 7-1 pattern

Local setup and running

See the README under the ./dashboard folder for details.

Sample devices - IoT-enabled sensor platform and motor controller

To demo how the dashboard might be used with real hardware, we built two IoT-enabled devices during IoT Hackday - one to feed data to the dashboard and another to receive data and create physical notifications. The devices and dashboard all communicated over MQTT thanks to the Mosquitto test server.

See this diagram for a breakdown of how the whole system was set up.

Both devices use Adafruit Huzzah32 boards and communicate over MQTT using the PubSubClient Arduino library.

Input device (sensors)

  1. Has a Sharp 2Y0A02 infrared distance sensor connected to pin 32
  2. Reads sensor data and transmits it to dashboard using MQTT (see ./Input_Device for the Arduino sketch)

Output device (motor controller)

  1. Has a hobby DC motor connected to digital pin 12 via a L298-based motor controller
  2. Controls the motor based on MQTT messages sent from the dashboard (see ./Output_Device for the Arduino sketch)

Demo video

Live demo of Dashboard for Everybody

dashboard-for-everybody's People

Contributors

jasonwebb avatar

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.