Giter Site home page Giter Site logo

forms's Introduction

Substance.js Build Status

Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing system. It is developed to power our online editing platform Substance.

Development

Install the dev dependencies.

npm install

Run the dev server.

npm start

Navigate to http://localhost:4001/test for the running the browser test suite. The test suite is rebuilt as you make changes to the source files.

To run the test-suite headless.

$ npm test

forms's People

Contributors

obuchtala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forms's Issues

Allow toolbar to be displayed at the top of the editable area

We have a need to place the toolbar at the top of the textarea rather than in a dynamic position close to the user's selection. I think this would be valuable to provide as an option to the div element to allow users to choose the location of the toolbar.

For example:

<div id="about" editable data-type="area" menu-position="[fixed|inline]">
    <p>Tell us <strong>something</strong> about <em>you</em></p>
</div>

Web Accessibility issues

The following are some basic web accessibility issues our UX team discovered with substance-forms.

  • The toolbar does not have enough color contrast to support. Converting to a simple black and white color scheme would solve this issue
  • Screen readers describe each of the toolbar icons as 'button'
  • When text is highlighted there is no prompt to the screen reader that lets the user know that a toolbar appeared
  • When the user clicks on the comment icon there is no audible indication that a comment area appeared

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.