-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First version of a polymer project, used yeoman
- Loading branch information
Frank Wijmans
committed
Jun 14, 2016
1 parent
e026904
commit 9dad588
Showing
1,882 changed files
with
300,381 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
<!-- | ||
This file is autogenerated based on | ||
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md | ||
If you edit that file, it will get updated everywhere else. | ||
If you edit this file, your changes will get overridden :) | ||
You can however override the jsbin link with one that's customized to this | ||
specific element: | ||
jsbin=https://jsbin.com/cagaye/edit?html,output | ||
--> | ||
# Polymer Elements | ||
## Guide for Contributors | ||
|
||
Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: | ||
|
||
### Filing Issues | ||
|
||
**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: | ||
|
||
1. **Who will use the feature?** _“As someone filling out a form…”_ | ||
2. **When will they use the feature?** _“When I enter an invalid value…”_ | ||
3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ | ||
|
||
**If you are filing an issue to report a bug**, please provide: | ||
|
||
1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: | ||
|
||
```markdown | ||
The `paper-foo` element causes the page to turn pink when clicked. | ||
|
||
## Expected outcome | ||
|
||
The page stays the same color. | ||
|
||
## Actual outcome | ||
|
||
The page turns pink. | ||
|
||
## Steps to reproduce | ||
|
||
1. Put a `paper-foo` element in the page. | ||
2. Open the page in a web browser. | ||
3. Click the `paper-foo` element. | ||
``` | ||
|
||
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [https://jsbin.com/cagaye/edit?html,output](https://jsbin.com/cagaye/edit?html,output). | ||
|
||
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. | ||
|
||
### Submitting Pull Requests | ||
|
||
**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. | ||
|
||
When submitting pull requests, please provide: | ||
|
||
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues in the pull request description using the following syntax: | ||
|
||
```markdown | ||
(For a single issue) | ||
Fixes #20 | ||
|
||
(For multiple issues) | ||
Fixes #32, fixes #40 | ||
``` | ||
|
||
2. **A succinct description of the design** used to fix any related issues. For example: | ||
|
||
```markdown | ||
This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. | ||
``` | ||
|
||
3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. | ||
|
||
If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# License | ||
|
||
Everything in this repo is BSD style license unless otherwise specified. | ||
|
||
Copyright (c) 2015 The Polymer Authors. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following disclaimer | ||
in the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Google Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
40 changes: 40 additions & 0 deletions
40
app/bower_components/accessibility-developer-tools/.bower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "accessibility-developer-tools", | ||
"version": "2.10.0", | ||
"homepage": "https://github.com/GoogleChrome/accessibility-developer-tools", | ||
"authors": [ | ||
"Google" | ||
], | ||
"description": "This is a library of accessibility-related testing and utility code.", | ||
"main": "dist/js/axs_testing.js", | ||
"moduleType": [ | ||
"amd", | ||
"globals" | ||
], | ||
"keywords": [ | ||
"accessibility", | ||
"testing", | ||
"WCAG", | ||
"module" | ||
], | ||
"license": "Apache-2.0", | ||
"ignore": [ | ||
"**/.*", | ||
"lib", | ||
"scripts", | ||
"src", | ||
"test", | ||
"tools", | ||
"Gruntfile.js", | ||
"package.json" | ||
], | ||
"_release": "2.10.0", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "v2.10.0", | ||
"commit": "1a46baa0c53becec01f1892eeb2d70afbf2b060a" | ||
}, | ||
"_source": "https://github.com/GoogleChrome/accessibility-developer-tools.git", | ||
"_target": "^2.10.0", | ||
"_originalSource": "accessibility-developer-tools" | ||
} |
141 changes: 141 additions & 0 deletions
141
app/bower_components/accessibility-developer-tools/Changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
## 2.10.0 - 2015-11-13 | ||
|
||
## 2.10.0-rc.1 - 2015-10-19 | ||
|
||
### Bug fixes: | ||
|
||
* `linkWithUnclearPurpose` should only look at links, not `<a>` without `href`. (#245) | ||
|
||
## 2.10.0-rc.0 - 2015-10-09 | ||
|
||
### New rules | ||
* A tabpanel should be related to a tab via aria-controls or aria-labelledby (`src/audits/UncontrolledTabpanel.js`) | ||
* A data table must identify row and column headers (`src/audits/TableHasAppropriateHeaders.js`) | ||
* A tooltip element should have an aria-describedby referring to it (`src/audits/RoleTooltipRequiresDescribedBy.js`). | ||
|
||
### Enhancements | ||
|
||
* Pull DOM-related functionality out into `DOMUtils.js` | ||
|
||
### Bug fixes: | ||
|
||
* Fix `findTextAlternatives` not always correctly ignoring hidden elements (#217). | ||
* `findTextAlternatives` now honors `alt` attribute of input type image | ||
* Revert #150 which was causing the extension not to work. | ||
* AX_HTML_02 (duplicate IDs) now only audits elements that are referenced by an IDREF (#141); | ||
* Fix #171 by being smarter about finding the composed parent node. | ||
* Tweak in canScrollTo to handle the (common) case where the container is `document.body` (#243). | ||
|
||
## 2.9.0 - 2015-09-04 | ||
|
||
## 2.9.0-rc.0 - 2015-08-21 | ||
|
||
### New rules | ||
|
||
* A label element may not have labelable descendants other than its labeled control (`src/audits/MultipleLabelableElementsPerLabel.js`) | ||
|
||
### Enhancements | ||
|
||
* Implement support for specifying audit configuration options through an object when initializing audits (#165). | ||
* Implement support for AMD loaders. | ||
|
||
### Bug fixes: | ||
|
||
* Fix `badAriaAttributeValue` not correctly handling decimal values (#182). | ||
* Work around null pointer exception caused by closure compiler issue (#183). | ||
* Add a special case to handle color `"transparent"` to fix (#180). | ||
* Fix `matchSelector` not working properly in browser environments without vendor prefixes (#189). | ||
* Fix false positives on elements with no role for Unsupported ARIA Attribute rule (#178 and #199). | ||
* Fix ARIA `tablist` and ARIA `tab` scope (#204) | ||
* Fix link with clear purpose with text alternative (#156); | ||
* Handle edge cases in number parser, e.g. "+1", ".1", "01" | ||
* HTML button containing img with alt attribute now passes controlsWithoutLabel (#202) | ||
* Disabled elements should be ignored by low contrast audit (#205) | ||
* Fix input of type "text" did not find correct implied role (#225) | ||
* Hidden links are no longer relevant for meaningful link text rule. | ||
|
||
## 2.8.0 - 2015-07-24 | ||
|
||
## 2.8.0-rc.0 - 2015-07-10 | ||
|
||
### Enhancements: | ||
* Pull color code into separate file. | ||
* Improve color suggestion algorithm. | ||
* Descend into iframes when collecting matching elements. | ||
|
||
## 2.7.1 - 2015-06-30 | ||
|
||
## 2.7.1-rc.1 - 2015-06-23 | ||
|
||
### Bug fixes: | ||
|
||
* Check for null `textAlternatives` in `FocusableElementNotVisibleAndNotAriaHidden`'s `relevantElementMatcher` method. | ||
|
||
## 2.7.1-rc.0 - 2015-06-15 | ||
|
||
### Enhancements: | ||
* Rework findTextAlternatives not to return non-exposed text alternatives. | ||
* Add Bower config (#157) | ||
|
||
### Bug fixes: | ||
* Check for any text alternatives when assessing unlabeled images (#154). | ||
|
||
## 2.7.0 - 2015-05-15 | ||
|
||
### New rules | ||
* This element does not support ARIA roles, states and properties (`src/audits/AriaOnReservedElement.js`) | ||
* aria-owns should not be used if ownership is implicit in the DOM (`src/audits/AriaOwnsDescendant.js`) | ||
* Elements with ARIA roles must be in the correct scope (`src/audits/AriaRoleNotScoped.js`) | ||
* An element's ID must be unique in the DOM (`src/audits/DuplicateId.js`) | ||
* The web page should have the content's human language indicated in the markup (`src/audits/HumanLangMissing.js`) | ||
* An element's ID must not be present in more that one aria-owns attribute at any time (`src/audits/MultipleAriaOwners.js`) | ||
* ARIA attributes which refer to other elements by ID should refer to elements which exist in the DOM (`src/audits/NonExistentAriaRelatedElement.js` - previously `src/audits/NonExistentAriaLabeledBy.js`) | ||
* Elements with ARIA roles must ensure required owned elements are present (`src/audits/RequiredOwnedAriaRoleMissing.js`) | ||
* Avoid positive integer values for tabIndex (`src/audits/TabIndexGreaterThanZero.js`) | ||
* This element has an unsupported ARIA attribute (`src/audits/UnsupportedAriaAttribute.js`) | ||
|
||
### Enhancements: | ||
* Add configurable blacklist phrases and stop words to LinkWithUnclearPurpose (#99) | ||
* Detect and warn if we reuse the same code for more than one rule. (#133) | ||
* Force focus before testing visibility on focusable elements. (#65) | ||
* Use getDistributedNodes to get nodes distributed into shadowRoots (#128) | ||
* Add section to Audit Rules page for HumanLangMissing and link to it from rule (#119) | ||
* Reference "applied role" in axs.utils.getRoles enhancement (#130) | ||
* Add warning that AX_FOCUS_02 is not available from axs.Audit.run() (#85) | ||
|
||
### Bug fixes: | ||
* Incorrect use of nth-of-type against className in utils.getQuerySelectorText (#87) | ||
* AX_TEXT_01 Accessibility Audit test should probably ignore role=presentation elements (#97) | ||
* Fix path to audit rules in phantomjs runner (#108) | ||
* Label audit should fail if form fields lack a label, even with placeholder text (#81) | ||
* False positives for controls without labels with role=presentation (#23) | ||
* Fix "valid" flag on return value of axs.utils.getRoles (#131) | ||
|
||
Note: this version number is somewhat arbitrary - just bringing it vaguely in line with [the extension](https://github.com/GoogleChrome/accessibility-developer-tools-extension) since that's where the library originated - but will use semver for version bumps going forward from here. | ||
|
||
## 0.0.5 - 2014-02-04 | ||
|
||
### Enhancements: | ||
* overlapping elements detection code made more sophisticated | ||
* axs.properties.getFocusProperties() returns more information about visibility | ||
* new axs.properties.hasDirectTextDescendant() method with more sophisticated detection of text content | ||
|
||
### Bug fixes: | ||
* FocusableElementNotVisibleAndNotAriaHidden audit passes on elements which are brought onscreen on focus | ||
* UnfocusableElementsWithOnclick checks for element.disabled | ||
* Fix infinite loop when getting descendant text content of a label containing an input | ||
* Detect elements which are out of scroll area of any parent element, not just the document scroll area | ||
* findTextAlternatives doesn't throw TypeError if used on a HTMLSelectElement | ||
|
||
## 0.0.4 - 2013-10-03 | ||
|
||
### Enhancements: | ||
|
||
* axs.AuditRule.run() has a new signature: it now takes an options object. Please see method documentation for details. | ||
* Audit Rule severity can be overridden (per Audit Rule) in AuditConfig. | ||
|
||
### Bug fixes: | ||
|
||
* axs.utils.isLowContrast() now rounds to the nearest 0.1 before checking (so `#777` is now a passing value) | ||
* MainRoleOnInappropriateElement was always failing due to accessible name calculation taking the main role into account and not descending into content (now just gets descendant content directly) | ||
* UnfocusableElementsWithOnClick had a dangling if-statement causing very noisy false positives |
Oops, something went wrong.