Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
* upstream/master: (66 commits)
  ractive-foundation#238: Remove comment
  ractive-foundation#238: Add ux-tabarea test
  ractive-foundation#230 Fixed bug in watch stopping json files from being watched
  Removed the default hbs examples
  Dist.
  [ractive-foundation#227] Add a11y example to give people an idea.
  [ractive-foundation#227] Update readme.
  [ractive-foundation#227] Refactor into a function, for future expansion.
  [ractive-foundation#227] Refactor and move a11y code to task file.
  [ractive-foundation#227] Colours
  [ractive-foundation#227] Tweaking logic.
  [ractive-foundation#227] Update readme.
  [ractive-foundation#227] Handle all promises nicely.
  [ractive-foundation#227] Tweaking logic.
  [ractive-foundation#227] Tweaking logic.
  [ractive-foundation#227] Use const for port numbers.
  [ractive-foundation#227] WIP async a11y testing.
  [ractive-foundation#227] Remove gulp-a11y, doesn't support URLs
  [ractive-foundation#227] Add a11y directly to project.
  [ractive-foundation#227] WIP working on a11y.
  ...
  • Loading branch information
Tanuja Yadupati committed Oct 8, 2015
2 parents af63026 + 9a0f9de commit efc2b22
Show file tree
Hide file tree
Showing 68 changed files with 530 additions and 125 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: node_js
sudo: false
node_js:
- "0.12"
- "0.12"
58 changes: 53 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# ractive-foundation
[![Build Status](https://travis-ci.org/ractive-foundation/ractive-foundation.svg?branch=master)](https://travis-ci.org/ractive-foundation/ractive-foundation)

[![Code Quality](https://www.codacy.com/project/badge/abe39910d64144fc9219964f3652dbda)](https://www.codacy.com/app/pv-shum/ractive-foundation)

[![bitHound Score](https://www.bithound.io/github/ractive-foundation/ractive-foundation/badges/score.svg)](https://www.bithound.io/github/ractive-foundation/ractive-foundation/master)

[![Dependencies Status](https://david-dm.org/tractive-foundatio/ractive-foundation.svg)](https://david-dm.org/ractive-foundation/ractive-foundation.svg)

[![Dependencies Status](https://david-dm.org/tractive-foundatio/ractive-foundation.svg)](https://david-dm.org/ractive-foundation/ractive-foundation)
[![Join the chat at https://gitter.im/themacclesoft/ractive-foundation](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/themacclesoft/ractive-foundation?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Overview
Expand Down Expand Up @@ -108,3 +104,55 @@ is basically the same as:
<ux-iconbaritem src="images/fi-like.svg">Like</ux-iconbaritem>
</ux-iconbar>
```

## Accessibility (a11y)

ractive-foundation uses [a11y](http://addyosmani.github.io/a11y/) with gulp for automated accessibility testing.

Example uses:

```
# Build and audit entire component list
gulp a11y
# Skip the build process, just audit
gulp a11y-only
# Single component with all its use cases
gulp a11y --component=ux-button
gulp a11y -c ux-button
gulp a11y-only --component=ux-button
# Run only a single use case
gulp a11y --component ux-button --usecase ClickMe
gulp a11y -c ux-button -u ClickMe
gulp a11y-only --component=ux-button --usecase=ClickMe
```

Example usage (failure):

```
$ gulp a11y-only -c ux-button -u BuyNow
[17:59:54] Using gulpfile ~/dev/projects/ractive-foundation/gulpfile.js
[17:59:54] Starting 'a11y-connect'...
[17:59:55] Finished 'a11y-connect' after 139 ms
[17:59:55] Starting 'a11y-only'...
[17:59:55] Server started http://localhost:8089
[17:59:56] a11y FAIL http://localhost:8089/testRunner.html#!/component/ux-button/use-case/BuyNow
*** Begin accessibility audit results ***
An accessibility audit found
Warnings:
Warning: AX_COLOR_01 (Text elements should have a reasonable contrast ratio) failed on the following element:
#childComponent > .button
See https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_color_01 for more information.
Warning: AX_FOCUS_03 (Avoid positive integer values for tabIndex) failed on the following element:
#childComponent > .button
See https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_focus_03 for more information.
*** End accessibility audit results ***
[17:59:56] 'a11y-only' errored after 1.37 s One or more a11y tests failed, see log.
```
61 changes: 61 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Foundation elements still to be created

## Structure
* Media Queries
* Visibility
* Grid
* Block Grid
* Interchange Responsive Content JS
* Utility Classes
* Javascript Utilities
* Right-to-Left Support

## Navigation
* ~~Off-canvas JS~~
* ~~Top Bar JS~~
* ~~Icon Bar~~
* ~~Side Nav~~
* Magellan Sticky Nav JS (#198)
* _Sub Nav_ (#102)
* _Breadcrumbs_ (#132)
* _Pagination_ (#134)

## Media
* ~~Orbit Slider JS~~
* ~~Thumbnails~~ (#182)
* Clearing Lightbox JS (#199)
* Flex Video (#200)

## Forms
* Forms (#201)
* Switches (#136)
* Range Sliders JS (#141)
* Abide Validation JS (#202)

## Buttons
* ~~Buttons~~
* Button Groups (#203)
* Split Buttons JS (#204)
* Dropdown Buttons JS (#205)

## Typography
* Type (#207)
* Inline Lists (#208)
* Labels (#151)
* Keystrokes (#209)

## Callouts & Prompts
* Reveal Modal JS (#210)
* ~~Alerts JS~~
* ~~Panels~~
* Tooltips JS (#211)
* Joyride JS (#212)

## Content
* Dropdowns JS (#213)
* ~~Pricing Tables~~ (#214)
* Progress Bars (#215)
* Tables (#216)
* ~~Accordion JS~~
* ~~Tabs JS~~
* Equalizer JS (#125)
1 change: 1 addition & 0 deletions bin/versionCheck.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const MINIMUM_VERSION = '0.12.0';

var compareVersions = function (installed, required) {
installed = installed.replace(/^v/, '');
var a = installed.split('.');
var b = required.split('.');

Expand Down
2 changes: 2 additions & 0 deletions dist/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@




.ux-orbit .orbit-container {
height: 100%;
position: relative;
Expand Down Expand Up @@ -69,3 +70,4 @@




1 change: 1 addition & 0 deletions dist/css/hljs-cdn-release/build/styles/github.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/manifest-rf.json

Large diffs are not rendered by default.

Loading

0 comments on commit efc2b22

Please sign in to comment.