Giter Site home page Giter Site logo

sastaras / orange-confort-plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orange-opensource/orange-confort-plus

0.0 0.0 0.0 38.01 MB

The target of Orange Confort+ functionalities is to enhance user experience on web sites, which are already accessible, or still accessible. Orange Confort+ provides these services : Typography - user may change: font size, space between words, characters and lines, font-face to Open Dislexic Layout: cancel layout, text align left, numbering list items, modify navigation links appereance, disply a reading ruler Colors : Modify foreground/background colors Behavior: direct access to main content on page load, automatic selection of page clickable elements with a user defined delay, page scrolling on simple user on hover. Be careful, Orange Confort+ does not improve the accessibility level of a web site: blocking points still stay blocking points, with or without Orange Confort+.

Home Page: https://confort-plus.orange.com/

License: GNU General Public License v2.0

JavaScript 68.85% CSS 10.68% HTML 10.18% C# 8.69% Batchfile 0.56% VBScript 1.03%

orange-confort-plus's Introduction

Orange-Confort-plus

The target of Orange Confort+ functionalities is to enhance user experience on web sites, which are already accessible, or still accessible.

Orange Confort+ provides these services:

  • Typography - user may change: font size, space between words, characters and lines, font-face to Open Dyslexic
  • Layout: cancel layout, text align left, numbering list items, modify navigation links appearance, display a reading mask
  • Colors : Modify foreground/background colors
  • Behavior: direct access to main content on page load, automatic selection of page clickable elements with a user defined delay, page scrolling on simple user on hover.

Be careful, Orange Confort+ does not improve the accessibility level of a web site: blocking points still stay blocking points, with or without Orange Confort+.

Table of contents

Browser extension

Deploying Orange Confort+ on your website

To deploy Orange Confort+ onto your domain, a prepackaged version is available: you just need to customize the values in dist/serveur/js/toolbar.jsand dist/serveur/toolbar-min.js

Edit the files, and change the following variables:

var hebergementDomaine = 'https://HEBERGEMENTDOMAIN'; // Here is your website protocol and url (end without /) eg: http://myexample.com
var hebergementFullPath = hebergementDomaine + 'YOURPATHTOSOURCEFILES'; // YOURPATHTOSOURCEFILES is the deployment path (starting en ending with a /) eg: /myconfortplus/

NB: Pay attention to the protocol you are using, HTTPS or HTTP.

Now you're ready to deploy it, just copy all the files and folders from dist/serveur to your website tree in myconfortplus folder if you used it for YOURPATHTOSOURCEFILES value.

You can call it anywhere on your website, just by adding the Javascript link, before the closing body tag, </body>, in your pages like this (replace example.com with your domain):

<script type="text/javascript" src="http://example.com/myconfortplus/js/toolbar-min.js"></script>

NB: The user settings are saved onto your domain and are never shared with other websites, or extension.

If the button doesn't comply with your graphics charter, you can create a link that will trigger Confort plus. To do so, just include those scripts along with the aforementionned:

`<script type="text/javascript">
accessibilitytoolbar_custom = {
// MANDATORY : ID of the target container which will include the link. If not null, activate the display in link mode. The link will be added as the last element of the target container. idLinkModeContainer : "id_target_container",

// OPTIONAL (put it as comments if useless) CSS class applied on the link to unify its appearance with the site.
cssLinkModeClassName : "linkClass",
 
// OPTIONAL (put it as comments if useless) When the service is displayed as a link in the page, a skip link is automatically added at the top of the page. If you already have a group of skip links, you can specify the target container where the skip link will be added. The link will be added as the last element of the target container. 
//idSkipLinkIdLinkMode : "", 

// OPTIONAL (put it as comments if useless) CSS class applied on the skip link
//cssSkipLinkClassName : "" 
};
</script>`

Contribute

  • Clone the repo: git clone https://github.com/Orange-OpenSource/Orange-Confort-plus.git.

  • Install dependencies $ npm install $ bower install

Watch it localy : $ grunt serve Go to http://localhost:9010/testpage.html

Now you're ready to update all files in /app and they will automaticaly reload after update.

Bugs and feature requests

Have a bug or a feature request? Please first check the issues and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Copyright and license

Code copyright 2014 - 2019 Orange. Code released under the GPLV2 license.

Third part

Luciole Font Family © Laurent Bourcellier & Jonathan Perez CC-BY

orange-confort-plus's People

Contributors

lausselloic avatar michellapointe avatar notabene avatar fhalna avatar pigeardsylvain avatar bbailleux 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.