external/accessibility-developer-tools.git
3 days agoTweak comments on getRulesCannotRun and... master
Alice [Tue, 15 Apr 2014 14:51:51 +0000 (07:51 -0700)]
Tweak comments on getRulesCannotRun and...

showUnsupportedRulesWarning

3 days 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 days 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

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

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

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

2 weeks 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

2 weeks 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.

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

2 weeks 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

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

2 weeks 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)

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

2 weeks 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.

2 weeks 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

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

2 weeks 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

2 weeks 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 weeks 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

2 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

4 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

4 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/

4 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

4 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()

4 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

4 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

4 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

4 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

4 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'

5 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

5 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 ...

5 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

5 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)

5 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

5 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]

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

6 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 ...

6 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

6 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

6 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

6 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...

6 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

6 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.

6 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.

6 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

6 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

6 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

6 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

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

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

6 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.

6 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

6 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

6 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

6 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()

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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.

6 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.

6 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

6 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...

6 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

7 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

7 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]

7 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]

7 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]

7 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

7 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

7 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

7 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

7 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

7 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

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

[Fixes #34]

7 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

7 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

7 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]

7 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

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

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

7 months agoAdd newlines before and after AUTO-GENERATED CONTENT warning.
Alice [Fri, 6 Sep 2013 18:07:54 +0000 (11:07 -0700)]
Add newlines before and after AUTO-GENERATED CONTENT warning.

7 months agoMerge pull request #28 from rachelshe/fix_for_iframes
Rachel Shearer [Wed, 4 Sep 2013 23:44:50 +0000 (16:44 -0700)]
Merge pull request #28 from rachelshe/fix_for_iframes

Fix for document.evaluate while inside an iframe

7 months agoMerge pull request #33 from ckundo/phantomjs-runner
Cameron Cundiff [Wed, 4 Sep 2013 22:14:59 +0000 (15:14 -0700)]
Merge pull request #33 from ckundo/phantomjs-runner

Add a phantomjs runner to execute an audit from the command line.

7 months agoAdd a phantomjs runner to execute an audit from the command line.
Cameron Cundiff [Wed, 4 Sep 2013 02:06:14 +0000 (20:06 -0600)]
Add a phantomjs runner to execute an audit from the command line.

[Finishes #16]

7 months agoAdding iframes for testpage.html
Rachel Shearer [Wed, 4 Sep 2013 01:47:12 +0000 (18:47 -0700)]
Adding iframes for testpage.html

7 months agoAdd travis-ci config file.
Cameron Cundiff [Sat, 31 Aug 2013 18:52:19 +0000 (14:52 -0400)]
Add travis-ci config file.

[#24]

7 months agoIgnore node modules in git
Cameron Cundiff [Sat, 31 Aug 2013 01:49:48 +0000 (21:49 -0400)]
Ignore node modules in git

7 months agoRun qunit tests in default grunt task.
Cameron Cundiff [Sat, 31 Aug 2013 01:45:12 +0000 (21:45 -0400)]
Run qunit tests in default grunt task.

Use grunt-contrib-qunit to run the qunit tests with a headless browser.
Prereq to issue #24.
[Finishes #30]

7 months agomerge changes
Rachel Shearer [Fri, 30 Aug 2013 23:34:05 +0000 (16:34 -0700)]
merge changes

7 months agoAdding tests for Properties.js and PageWithoutTitle.js
Rachel Shearer [Fri, 30 Aug 2013 23:32:00 +0000 (16:32 -0700)]
Adding tests for Properties.js and PageWithoutTitle.js

7 months agoMerge pull request #31 from alice/grunt
Alice [Fri, 30 Aug 2013 21:34:04 +0000 (14:34 -0700)]
Merge pull request #31 from alice/grunt

Add gen/ to .gitignore

7 months agoAdd gen/ to .gitignore
Alice Boxhall [Fri, 30 Aug 2013 20:31:48 +0000 (13:31 -0700)]
Add gen/ to .gitignore