Giter Club home page Giter Club logo

cyberwani / accessible-facebook-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from athyuttamre/accessible-facebook-ui

0.0 1.0 0.0 20.66 MB

An accessible reimplementation of Facebook's core functions, designed to work with eye-tracking technology.

Home Page: http://accessiblefacebookui.herokuapp.com

License: Other

JavaScript 87.65% Shell 0.01% Perl 0.08% Python 4.97% Makefile 0.09% CSS 4.43% Ruby 0.80% CoffeeScript 0.02% PHP 1.83% C 0.12% R 0.01%

accessible-facebook-ui's Introduction

Accessible Facebook UI

An accessible reimplementation of Facebook's core functions, designed to work with eye-tracking technology.

Live Version

Accessible Facebook UI Homepage

Contents

  • Intro
  • Global Features
    • Server
    • Facebook API
    • Dwell-Click
    • UI Design
  • Pages
    • Login
    • Homepage
    • Newsfeed
    • Messaging
    • Status
    • Profile
    • Photos
    • Logout
  • Future Features
  • Bugs
  • Credits

Intro

The Accessible Facebook UI project is a collaboration between students of CS132 at Brown University and the SpeakYourMind Foundation. It provides a simpler user interface for Facebook that can be controlled by eye-trackers, and uses dwell-click technology. The target users are clients with disabilities that force them to use eye-tracking software to navigate computer systems.

This README explains the Accessible Facebook UI app by feature. First, it explains all global features that apply to multiple sections. Then, it explains each page's functionality. Finally, it explains potential future features, bugs, and credits.

##Workflow

Clone the repository locally, and run npm install to initialize the node modules. Next run node server.js while within the root directory. Navigate to http://localhost:8080/ in your browser to interact with the app.

Global Features

Server

  • Index
    • index.html - Home page
    • First page that is loaded (will redirect to /login if first time)
  • Login
    • login.html - Login page
    • Redirects here from any page if login.js says user not logged in
  • Messaging
    • messaging.html
  • Status
    • status.html
  • Profile
    • profile.html
  • Newsfeed
    • newsfeed.html
  • Notifications
    • notifications.html
  • Search
    • search.html

Facebook API

We use Facebook's Graph API v2.0. Login as well as all HTTP requests are controlled through Facebook's Javascript SDK.

Dwell-Click

We implemented a dwell-click functionality by which a user may dwell over clickable elements such as buttons and links for 1000ms to click them. The app presents the user with a color-fading visual cue to indicate the process of dwelling and finishing clicking.

UI Design

Read more about our design process here.

##Pages

Login

  • Users can login by dwelling upon the login button in /login. Since login must be controlled through Facebook's dialog boxes, a caretaker would be expected to login once for each user.
  • Whenever a user navigates to a page without being logged in, they are redirected to the login page.

Homepage

  • /index is the homepage for the chat application.
  • It is written using the Raphael.js library which allows for vector drawing.

Newsfeed

  • /newsfeed renders a user's newsfeed. Facebook's feed items are varied and complex (photos, videos, links etc.); our implementation only displays basic versions of these.
  • Newsfeed also allows one to like posts and comment on them. It also shows the people who've liked each post.

Messaging

  • /messaging is an XMPP chat client that uses X-Facebook-Platform OAuth Authentication to login to Facebook. Instead of creating an XMPP client from scratch, which we would not have had time for, we used an open-source browser XMPP client called Converse.js. We integrated Converse.js with our application, and I modified the code of the file to authenticate using Facbeook, instead of having the user log in directly.

Status

  • /status is a simple way for the user to post a text-based status update. It makes use of a dwell-controlled on-screen QWERTY keyboard.

Profile

  • /profile renders the user's personal profile. It links to the person's About page, Photos page, and Status Update page.

Photos

  • /photos displays user's Profile Photos, Tagged Photos and Albums.
  • User can navigate between photos within an album, like them, and comment on them.

Bugs

  • IMPORTANT: Please test on modern computer and web browser. Be wary of department machines! Things that work great on our computer seem to, after handing it in on a Linux machine, be buggy (i.e. keyboard on some pages). Tested on Macbook Pro's with Chrome/Firefox
  • IMPORTANT: If the user has no previous messages in /messaging, the screen appears to be blank even after it's loaded. Have someone send you a message on Facebook while you are on /messaging, and it should appear in realtime.
  • Keyboard does NOT work in /messaging: we simply didn't have time when it came down to the wire, after we finally implemented Facebook Chat.
  • If internet times out while loading Chat, Chat will never load. Can be fixed by refreshing.
  • Blurry photos for Chat

Future Features

  • Messaging: Compose a new message
  • Messaging: Instant messaging only so you only see the messages you only get in a certain session.
  • Messaging: We want to use our own node.js server as a BOSH server; right now we still use Converse.JS's test BOSH servier bind.converse.org
  • Search
  • Friend Requests
  • Newsfeed: Reading comments on newsfeed

Credits

The Accessible Facebook UI project was a semeseter-long project by students of CS132 - Making Modern Web Apps at Brown University during Spring 2014 in collaboration with the SpeakYourMind Foundation. Members of the team were:

  • Abigail Moses ([email protected])
    • Chat Frontend
    • Implemented dwell_gist to create easy to access dwell-click functionality
    • Collaborated on Design Interface
    • Newsfeed Frontend
    • Status Frontend
  • Athyuttam Eleti ([email protected])
    • Implemented Facebook API initialization
    • Implemented Login Workflow
    • Implemented Status Update
    • Implemented Newsfeed
  • Elyse McManus ([email protected])
    • Implemented Photos
    • Implemented Profile
    • Developed prototype to pause dwell-click functionality
  • Matt Sanders ([email protected])
    • Designed interface
    • Implemented Homepage
    • Created icons
    • Ongoing design of global features
  • Michael Weinstein ([email protected])
    • Facebook Chat
    • Adapting Converse.js
    • Building initial Server structure
    • Setting up Facebook Authentication
    • Tested modules (i.e. passport-facebook, node-xmpp, Strophe)

accessible-facebook-ui's People

Contributors

amose679 avatar athyuttamre avatar emcmanus11 avatar sandmatt avatar

Watchers

 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.