external/accessibility-developer-tools.git
8 weeks agoMerge pull request #91 from alice/master master
Alice [Wed, 28 May 2014 15:22:47 +0000 (08:22 -0700)]
Merge pull request #91 from alice/master

Correctly parse alpha in rgba colors

8 weeks agoCorrectly parse alpha in rgba colors
Alice Boxhall [Wed, 28 May 2014 14:41:47 +0000 (07:41 -0700)]
Correctly parse alpha in rgba colors

2 months agoMerge pull request #90 from alice/master
Alice [Wed, 21 May 2014 21:35:04 +0000 (14:35 -0700)]
Merge pull request #90 from alice/master

Don't construct query selectors referring to .class:nth-of-type

2 months agoDon't construct query selectors referring to .class:nth-of-type
Alice Boxhall [Tue, 20 May 2014 18:05:56 +0000 (11:05 -0700)]
Don't construct query selectors referring to .class:nth-of-type

2 months agoMerge pull request #89 from alice/master stable
Alice [Thu, 15 May 2014 17:18:49 +0000 (10:18 -0700)]
Merge pull request #89 from alice/master

Create new release build

2 months agoCreate new release build
Alice Boxhall [Thu, 15 May 2014 16:35:28 +0000 (09:35 -0700)]
Create new release build

2 months agoMerge pull request #88 from GoogleChrome/shadow
Alice [Mon, 28 Apr 2014 21:17:18 +0000 (14:17 -0700)]
Merge pull request #88 from GoogleChrome/shadow

Use shadowRoot.host as parent element if parent node is a shadow root

2 months agoHandle null and document fragment nodes in axs.utils.parentElement shadow
Alice Boxhall [Mon, 28 Apr 2014 21:06:58 +0000 (14:06 -0700)]
Handle null and document fragment nodes in axs.utils.parentElement

2 months agoSwitch all uses of parentElement to use axs.utils.parentElement
Alice Boxhall [Sun, 27 Apr 2014 22:13:41 +0000 (15:13 -0700)]
Switch all uses of parentElement to use axs.utils.parentElement

2 months agoUse shadowRoot.host as parent element if parent node is a shadow root
Alice Boxhall [Sun, 27 Apr 2014 21:53:48 +0000 (14:53 -0700)]
Use shadowRoot.host as parent element if parent node is a shadow root

2 months agoPull in latest closure-library
Alice Boxhall [Sun, 27 Apr 2014 19:42:59 +0000 (12:42 -0700)]
Pull in latest closure-library

2 months agoFix outdated reference to webkitShadowRoot
Alice [Sun, 27 Apr 2014 19:33:30 +0000 (12:33 -0700)]
Fix outdated reference to webkitShadowRoot

Missed this in the last change somehow.

3 months agoTweak comments on getRulesCannotRun and...
Alice [Tue, 15 Apr 2014 14:51:51 +0000 (07:51 -0700)]
Tweak comments on getRulesCannotRun and...

showUnsupportedRulesWarning

3 months agoMerge pull request #86 from coderjz/master
Alice [Mon, 14 Apr 2014 21:04:57 +0000 (14:04 -0700)]
Merge pull request #86 from coderjz/master

Issue 85 Add warning that AX_FOCUS_02 is not available from axs.Audit.run()

3 months agoBring grunt-closurecompiler and closure lib up to date
Alice Boxhall [Mon, 14 Apr 2014 17:06:26 +0000 (10:06 -0700)]
Bring grunt-closurecompiler and closure lib up to date

3 months agoUpdate variable name and comment
unknown [Wed, 9 Apr 2014 13:22:27 +0000 (09:22 -0400)]
Update variable name and comment

3 months agoFix variable unsupportedRulesWarningShown
unknown [Sun, 6 Apr 2014 22:05:34 +0000 (18:05 -0400)]
Fix variable unsupportedRulesWarningShown

3 months agoUpdated comment. No longer exporting file.
coderjz [Fri, 4 Apr 2014 04:06:04 +0000 (00:06 -0400)]
Updated comment.  No longer exporting file.

3 months agoMerge pull request #84 from GoogleChrome/shadow
Alice [Wed, 2 Apr 2014 18:29:51 +0000 (11:29 -0700)]
Merge pull request #84 from GoogleChrome/shadow

Descend into Shadow DOM in AuditRule.collectMatchingElements

3 months agoUse node.shadowRoot || node.webkitShadowRoot
Alice [Wed, 2 Apr 2014 18:11:47 +0000 (11:11 -0700)]
Use node.shadowRoot || node.webkitShadowRoot

node.webkitShadowRoot may be deprecated/removed at some point.

3 months agoUpdate comment on distributed elements.
Alice [Wed, 2 Apr 2014 18:02:59 +0000 (11:02 -0700)]
Update comment on distributed elements.

3 months agoFix unit test for console API and warning
unknown [Tue, 1 Apr 2014 02:02:13 +0000 (22:02 -0400)]
Fix unit test for console API and warning

3 months agoFix test cases
unknown [Tue, 1 Apr 2014 01:42:34 +0000 (21:42 -0400)]
Fix test cases

3 months agoAttempt to add unit testing (does not work)
unknown [Tue, 1 Apr 2014 01:21:08 +0000 (21:21 -0400)]
Attempt to add unit testing (does not work)

3 months agoSuggested variable name update
unknown [Tue, 1 Apr 2014 01:20:41 +0000 (21:20 -0400)]
Suggested variable name update

3 months agoRollback dist/js/axs_testing.js to previous good version.
unknown [Tue, 1 Apr 2014 01:20:26 +0000 (21:20 -0400)]
Rollback dist/js/axs_testing.js to previous good version.

3 months agoUse correct version of Google Closure Compiler
coderjz [Mon, 31 Mar 2014 02:18:13 +0000 (22:18 -0400)]
Use correct version of Google Closure Compiler

3 months agoRemove @suppress that is not needed
coderjz [Mon, 31 Mar 2014 01:57:57 +0000 (21:57 -0400)]
Remove @suppress that is not needed

3 months agoCheck correct object for warning flag set when no configuration passed. If configura...
coderjz [Mon, 31 Mar 2014 01:45:38 +0000 (21:45 -0400)]
Check correct object for warning flag set when no configuration passed.  If configuration supports consoleAPI, do not include rules

3 months agoAdd warning message for rules not supported without console API
coderjz [Mon, 31 Mar 2014 01:35:12 +0000 (21:35 -0400)]
Add warning message for rules not supported without console API

4 months agoDescend into Shadow DOM in AuditRule.collectMatchingElements
Alice Boxhall [Thu, 20 Mar 2014 11:17:34 +0000 (11:17 +0000)]
Descend into Shadow DOM in AuditRule.collectMatchingElements

5 months agoMove license info to the end of the README v0.0.5
Cameron Cundiff [Tue, 4 Feb 2014 18:09:29 +0000 (13:09 -0500)]
Move license info to the end of the README

7 months agoMerge pull request #73 from ckundo/create-release-directory
Cameron Cundiff [Mon, 9 Dec 2013 17:57:24 +0000 (09:57 -0800)]
Merge pull request #73 from ckundo/create-release-directory

Create release directory and build task

7 months agoMove generated js to dist/js/
Cameron Cundiff [Sat, 30 Nov 2013 16:39:06 +0000 (11:39 -0500)]
Move generated js to dist/js/

7 months agoCreate dist/ and related grunt task
Cameron Cundiff [Sat, 30 Nov 2013 16:32:00 +0000 (11:32 -0500)]
Create dist/ and related grunt task

7 months agoMerge pull request #72 from alice/scrollArea
Alice [Mon, 25 Nov 2013 17:44:25 +0000 (09:44 -0800)]
Merge pull request #72 from alice/scrollArea

Check for body element in axs.utils.canScrollTo()

7 months agoUse instanceof check instead of tagName
Alice Boxhall [Mon, 25 Nov 2013 17:43:27 +0000 (09:43 -0800)]
Use instanceof check instead of tagName

8 months agoCheck for body element in axs.utils.canScrollTo
Alice Boxhall [Fri, 22 Nov 2013 20:10:05 +0000 (12:10 -0800)]
Check for body element in axs.utils.canScrollTo

8 months agoMerge pull request #71 from alice/scrollArea
Alice [Tue, 19 Nov 2013 22:18:01 +0000 (14:18 -0800)]
Merge pull request #71 from alice/scrollArea

Check for focusable element inside scroll area of non-body parents

8 months agoCheck for clipping by container elements
Alice Boxhall [Tue, 19 Nov 2013 19:59:24 +0000 (11:59 -0800)]
Check for clipping by container elements

8 months agoCheck scrollWidth; check for overflow = 'hidden' or 'scroll'
Alice Boxhall [Tue, 19 Nov 2013 16:16:21 +0000 (08:16 -0800)]
Check scrollWidth; check for overflow = 'hidden' or 'scroll'

8 months agoCheck for scrollbars on parent elements
Alice Boxhall [Wed, 13 Nov 2013 01:52:24 +0000 (17:52 -0800)]
Check for scrollbars on parent elements

8 months agoMerge pull request #70 from alice/crash
Alice [Fri, 8 Nov 2013 22:26:42 +0000 (14:26 -0800)]
Merge pull request #70 from alice/crash

Fix issues: crash when overlappingElements was null, and text not being ...

8 months agoFix issues: crash when overlappingElements was null, and text not being computed...
Alice Boxhall [Fri, 8 Nov 2013 18:15:12 +0000 (10:15 -0800)]
Fix issues: crash when overlappingElements was null, and text not being computed for hidden elements

8 months agoMerge pull request #68 from ckundo/dropdown-focus-test
Alice [Mon, 28 Oct 2013 20:13:57 +0000 (13:13 -0700)]
Merge pull request #68 from ckundo/dropdown-focus-test

Force focus on elements before checking if they are visible (e.g. skip-nav links)

8 months agoMove GUI only tests into their own test file
Cameron Cundiff [Sat, 26 Oct 2013 19:03:54 +0000 (15:03 -0400)]
Move GUI only tests into their own test file

8 months agoForce focus before testing visibility on focusable elements.
Cameron Cundiff [Sat, 26 Oct 2013 19:03:23 +0000 (15:03 -0400)]
Force focus before testing visibility on focusable elements.

[Finishes #65]

9 months agoAdd test for Issue #69
Alice Boxhall [Thu, 24 Oct 2013 15:06:07 +0000 (08:06 -0700)]
Add test for Issue #69

9 months agoMerge pull request #63 from alice/labels
Alice [Wed, 16 Oct 2013 17:38:17 +0000 (10:38 -0700)]
Merge pull request #63 from alice/labels

Fix infite loop when getting descendant text content of a label ...

9 months agoFix infite loop when getting descendant text content of a label containing an input
Alice Boxhall [Fri, 11 Oct 2013 16:46:11 +0000 (09:46 -0700)]
Fix infite loop when getting descendant text content of a label containing an input

9 months agoMerge pull request #62 from alice/fix
Alice [Tue, 15 Oct 2013 16:13:21 +0000 (09:13 -0700)]
Merge pull request #62 from alice/fix

Fix test failure in get focus properties test

9 months agoFix test failure in get focus properties test
Alice Boxhall [Fri, 11 Oct 2013 16:22:58 +0000 (09:22 -0700)]
Fix test failure in get focus properties test

9 months agoMerge pull request #61 from alice/overlapping
Alice [Fri, 11 Oct 2013 16:06:27 +0000 (09:06 -0700)]
Merge pull request #61 from alice/overlapping

Look at individual clientRects rather than boundingClientRect...

9 months agoUpdate Properties.js to use overlappingElements rather than overlappingElement; corre...
Alice Boxhall [Fri, 11 Oct 2013 01:52:58 +0000 (18:52 -0700)]
Update Properties.js to use overlappingElements rather than overlappingElement; correctly detect inherently focusable elements and add in hiddenReason

9 months agoLook at individual clientRects rather than boundingClientRect for overlapping element...
Alice Boxhall [Thu, 10 Oct 2013 18:36:39 +0000 (11:36 -0700)]
Look at individual clientRects rather than boundingClientRect for overlapping element check; potentially return more than one overlapping element.

9 months agoMerge pull request #60 from alice/master
Alice [Thu, 10 Oct 2013 21:26:38 +0000 (14:26 -0700)]
Merge pull request #60 from alice/master

Add reasons to focus properties, test for same.

9 months agoAdd reasons to focus properties, test for same, and test for audit rules to ignore
Alice Boxhall [Sat, 5 Oct 2013 00:28:22 +0000 (17:28 -0700)]
Add reasons to focus properties, test for same, and test for audit rules to ignore

9 months agoAdd comment to explain null check
Alice Boxhall [Thu, 10 Oct 2013 21:20:26 +0000 (14:20 -0700)]
Add comment to explain null check

9 months agoAdd reasons to focus properties, test for same, and test for audit rules to ignore
Alice Boxhall [Sat, 5 Oct 2013 00:28:22 +0000 (17:28 -0700)]
Add reasons to focus properties, test for same, and test for audit rules to ignore

9 months agoMerge pull request #59 from Casecommons/master
Alice [Thu, 10 Oct 2013 16:25:31 +0000 (09:25 -0700)]
Merge pull request #59 from Casecommons/master

Put quotes around 'id' values in query selectors

9 months agoFix typo getTextFromHostLangaugeAttributes -> getTextFromHostLanguageAttributes
Nishit Shah [Mon, 7 Oct 2013 18:11:40 +0000 (14:11 -0400)]
Fix typo getTextFromHostLangaugeAttributes -> getTextFromHostLanguageAttributes

9 months agoRe-word test descriptions
Nishit Shah [Mon, 7 Oct 2013 18:09:55 +0000 (14:09 -0400)]
Re-word test descriptions

9 months agoPut quotes around 'id' values in query selectors
Nishit Shah [Mon, 7 Oct 2013 13:55:10 +0000 (09:55 -0400)]
Put quotes around 'id' values in query selectors

querySelectorAll throws an exception when the query selector has an 'id'
value starting with a number. In HTML5, id's can start with numbers and
hence are not illegal.

9 months agoMerge pull request #57 from Casecommons/master
Alice [Sat, 5 Oct 2013 14:52:41 +0000 (07:52 -0700)]
Merge pull request #57 from Casecommons/master

Fix findTextAlternatives property to not throw TypeError

9 months agoFixup test for findTextAlternatives
Nishit Shah [Fri, 4 Oct 2013 18:27:21 +0000 (14:27 -0400)]
Fixup test for findTextAlternatives

to follow convention around indentation/quotes, have correct description
and remove unnecessary return statements

9 months agoTest that findTextAlternatives does not raise errors
Nishit Shah [Thu, 3 Oct 2013 16:29:55 +0000 (12:29 -0400)]
Test that findTextAlternatives does not raise errors

9 months agoFix re-declared variable in AuditRule.run()
Alice [Thu, 3 Oct 2013 15:29:27 +0000 (08:29 -0700)]
Fix re-declared variable in AuditRule.run()

9 months agoFix findTextAlternatives property to not throw TypeError
Nishit Shah [Thu, 3 Oct 2013 15:22:23 +0000 (11:22 -0400)]
Fix findTextAlternatives property to not throw TypeError

If the element is an instance of HTMLSelectElement, you want to
reset inputElement to be able to use its value

9 months agoMerge pull request #56 from alice/master v0.0.4
Alice [Thu, 3 Oct 2013 14:47:09 +0000 (07:47 -0700)]
Merge pull request #56 from alice/master

Round colour contrast when checking for low contrast; allow configuration of maximum number of results for audit rule

9 months agoRemove extraneous extra argument to isLowContrast() in LowContrastElements.js
Alice Boxhall [Wed, 2 Oct 2013 21:36:04 +0000 (14:36 -0700)]
Remove extraneous extra argument to isLowContrast() in LowContrastElements.js

9 months agoSwitch AuditRule to take an options object rather than several optional arguments...
Alice Boxhall [Wed, 2 Oct 2013 21:14:33 +0000 (14:14 -0700)]
Switch AuditRule to take an options object rather than several optional arguments, and allow setting a maximum number of results

9 months agoAdd more tests for color contrast; switch to rounding to nearest 0.1 instead of using...
Alice Boxhall [Wed, 2 Oct 2013 16:12:28 +0000 (09:12 -0700)]
Add more tests for color contrast; switch to rounding to nearest 0.1 instead of using a tolerance value

9 months agoAllow isLowContrast() to take a tolerance factor, and pass in tolerance=0.02 from...
Alice Boxhall [Wed, 2 Oct 2013 15:27:15 +0000 (08:27 -0700)]
Allow isLowContrast() to take a tolerance factor, and pass in tolerance=0.02 from the LowContrastElements audit rule

9 months agoRemove dangling if-statement causing many false positive in UnfocusableElementsWithOn...
Alice Boxhall [Tue, 1 Oct 2013 18:49:31 +0000 (11:49 -0700)]
Remove dangling if-statement causing many false positive in UnfocusableElementsWithOnclick

9 months agoUpdate AccessibilityUtils.js
Alice [Thu, 26 Sep 2013 16:55:06 +0000 (09:55 -0700)]
Update AccessibilityUtils.js

Non-bold font needs to be 18pt to be considered large.
http://www.w3.org/TR/WCAG-TECHS/G18.html

10 months agoMerge pull request #50 from ckundo/update-travis-config
Cameron Cundiff [Tue, 24 Sep 2013 21:50:58 +0000 (14:50 -0700)]
Merge pull request #50 from ckundo/update-travis-config

Revise TravisCI config to use npm script

10 months agoMerge pull request #55 from alice/master
Alice [Tue, 24 Sep 2013 20:08:39 +0000 (13:08 -0700)]
Merge pull request #55 from alice/master

Add test for MainRoleOnInappropriateElement audit rule

10 months agoInstall grunt-cli in a before script, not in the dev dependencies.
Cameron Cundiff [Tue, 24 Sep 2013 01:42:41 +0000 (21:42 -0400)]
Install grunt-cli in a before script, not in the dev dependencies.

10 months agoRevert "Revert "Add grunt-cli to package.json""
Cameron Cundiff [Tue, 24 Sep 2013 01:31:09 +0000 (21:31 -0400)]
Revert "Revert "Add grunt-cli to package.json""

This reverts commit 252d4f485a907bbb44a953093587b3bdc9a50a41.

10 months agoRevert "Add grunt-cli to package.json"
Cameron Cundiff [Tue, 24 Sep 2013 01:25:27 +0000 (21:25 -0400)]
Revert "Add grunt-cli to package.json"

This reverts commit 0908184d776489d70fd18437a1568f774a23e675.

10 months agoAdd test for MainRoleOnInappropriateElement audit rule
Alice Boxhall [Mon, 23 Sep 2013 23:55:05 +0000 (16:55 -0700)]
Add test for MainRoleOnInappropriateElement audit rule

10 months agoMerge pull request #53 from alice/cherrypick
Alice [Mon, 23 Sep 2013 18:08:15 +0000 (11:08 -0700)]
Merge pull request #53 from alice/cherrypick

Move check for name-from:content out of getTextFromDescendantContent and...

10 months agoMove check for name-from:content out of getTextFromDescendantContent and use getTextF...
Alice Boxhall [Thu, 22 Aug 2013 16:20:36 +0000 (09:20 -0700)]
Move check for name-from:content out of getTextFromDescendantContent and use getTextFromDescendantContent instead of getTextAlternatives in MainRoleOnInappropriateElement test

10 months agoMerge pull request #49 from ckundo/document-releases release
Cameron Cundiff [Sun, 15 Sep 2013 21:52:18 +0000 (14:52 -0700)]
Merge pull request #49 from ckundo/document-releases

Update README to give a url for including axs_testing.js

10 months agoTurn off email notifications for TravisCI.
Cameron Cundiff [Sat, 14 Sep 2013 20:59:15 +0000 (16:59 -0400)]
Turn off email notifications for TravisCI.

[#24]

10 months agoAdd grunt-cli to package.json
Cameron Cundiff [Sat, 14 Sep 2013 20:41:46 +0000 (16:41 -0400)]
Add grunt-cli to package.json

[#24]

10 months agoDefine npm script for Travis default running
Cameron Cundiff [Sat, 14 Sep 2013 20:36:16 +0000 (16:36 -0400)]
Define npm script for Travis default running

[#24]

10 months agoAdd language specification to Travis.yml
Cameron Cundiff [Thu, 12 Sep 2013 13:55:21 +0000 (09:55 -0400)]
Add language specification to Travis.yml

10 months agoUpdate README to give a url for including axs_testing.js
Cameron Cundiff [Thu, 12 Sep 2013 13:36:47 +0000 (09:36 -0400)]
Update README to give a url for including axs_testing.js

10 months agoMerge pull request #38 from ckundo/travis-ci-issue-24
Cameron Cundiff [Wed, 11 Sep 2013 21:37:50 +0000 (14:37 -0700)]
Merge pull request #38 from ckundo/travis-ci-issue-24

Travis ci configuration

10 months agoMerge pull request #43 from alice/severity
Alice [Wed, 11 Sep 2013 18:11:12 +0000 (11:11 -0700)]
Merge pull request #43 from alice/severity

Add ability to override audit rule severity in AuditConfiguration

10 months agoAdd ability to override audit rule severity in AuditConfiguration, add test; add...
Alice Boxhall [Wed, 11 Sep 2013 01:51:14 +0000 (18:51 -0700)]
Add ability to override audit rule severity in AuditConfiguration, add test; add extra test for BadAriaRole too

10 months agoMerge pull request #41 from ckundo/remove-extraneous-closure-dir
Cameron Cundiff [Mon, 9 Sep 2013 20:40:45 +0000 (13:40 -0700)]
Merge pull request #41 from ckundo/remove-extraneous-closure-dir

Remove extraneous closure directory

10 months agoRemove extraneous closure directory
ckundo [Mon, 9 Sep 2013 20:35:09 +0000 (16:35 -0400)]
Remove extraneous closure directory

[Fixes #34]

10 months agoAdd instructions for git clone --recursive to README v0.0.1
Alice [Mon, 9 Sep 2013 15:59:59 +0000 (08:59 -0700)]
Add instructions for git clone --recursive to README

10 months agoMerge branch 'master' into travis-ci-issue-24
Cameron Cundiff [Sat, 7 Sep 2013 19:51:49 +0000 (15:51 -0400)]
Merge branch 'master' into travis-ci-issue-24

10 months agoRun default grunt tasks on TravisCI.
Cameron Cundiff [Sat, 7 Sep 2013 19:49:21 +0000 (15:49 -0400)]
Run default grunt tasks on TravisCI.

[Finishes #24]

10 months agoMerge pull request #32 from ckundo/issue-30-add-qunit-task 2.6
Cameron Cundiff [Sat, 7 Sep 2013 19:15:29 +0000 (12:15 -0700)]
Merge pull request #32 from ckundo/issue-30-add-qunit-task

Add task to run tests and run it by default

10 months agoUpdate README.md
Alice [Fri, 6 Sep 2013 20:10:46 +0000 (13:10 -0700)]
Update README.md

10 months agoUpdate README.md
Alice [Fri, 6 Sep 2013 20:05:48 +0000 (13:05 -0700)]
Update README.md