external/accessibility-developer-tools.git
9 days agoChanges from upstream master
Alice Boxhall [Wed, 15 May 2013 18:05:51 +0000 (11:05 -0700)]
Changes from upstream

13 days agoPull Audit headings and URLs on to AuditRule spec
Alice Boxhall [Sat, 11 May 2013 19:15:32 +0000 (12:15 -0700)]
Pull Audit headings and URLs on to AuditRule spec

2 weeks agoFix casts in Properties.js
Alice Boxhall [Tue, 7 May 2013 22:26:07 +0000 (15:26 -0700)]
Fix casts in Properties.js

2 weeks agoIncorporate changes made upstream and latest externs.js
Alice Boxhall [Tue, 7 May 2013 21:38:25 +0000 (14:38 -0700)]
Incorporate changes made upstream and latest externs.js

2 weeks agoAdd new audit rules and AuditResults object
Alice Boxhall [Tue, 7 May 2013 18:12:44 +0000 (11:12 -0700)]
Add new audit rules and AuditResults object

2 weeks agoUse all-caps for audit rule severity; create 'Spec' type for audit rule specs
Alice Boxhall [Mon, 6 May 2013 22:06:46 +0000 (15:06 -0700)]
Use all-caps for audit rule severity; create 'Spec' type for audit rule specs

2 weeks agoAdd parse_aria_schemas.py script; auto-generate ARIA attributes in Constants.js;...
Alice Boxhall [Sat, 4 May 2013 01:12:09 +0000 (18:12 -0700)]
Add parse_aria_schemas.py script; auto-generate ARIA attributes in Constants.js; update RequiredAriaAttributeMissing to check for default values; update AccessibilityUtils to validate slightly different ARIA attributes

2 weeks agoCheck for default value in RequiredAriaAttributeMissing
Alice Boxhall [Fri, 3 May 2013 22:13:32 +0000 (15:13 -0700)]
Check for default value in RequiredAriaAttributeMissing

2 months agoAdd auditRulesToRun/auditRulesToIgnore to AuditConfiguration
Alice Boxhall [Sat, 2 Mar 2013 01:07:16 +0000 (17:07 -0800)]
Add auditRulesToRun/auditRulesToIgnore to AuditConfiguration

2 months agoRemove duplicate require line in NonExistentAriaLabeledBy.js
Alice Boxhall [Fri, 1 Mar 2013 23:51:50 +0000 (15:51 -0800)]
Remove duplicate require line in NonExistentAriaLabeledBy.js

3 months agoLower case tag name when checking for script elements
Alice Boxhall [Wed, 13 Feb 2013 16:11:29 +0000 (11:11 -0500)]
Lower case tag name when checking for script elements

3 months agoInclude image filename in computed text
Alice Boxhall [Wed, 13 Feb 2013 16:07:34 +0000 (11:07 -0500)]
Include image filename in computed text

3 months agoAdd testpage.html
Alice Boxhall [Wed, 13 Feb 2013 01:46:52 +0000 (20:46 -0500)]
Add testpage.html

3 months agoAdd focusProperties, audit scope, chromevoxignoreariahidden fix, better idref handling
Alice Boxhall [Wed, 13 Feb 2013 01:41:21 +0000 (20:41 -0500)]
Add focusProperties, audit scope, chromevoxignoreariahidden fix, better idref handling

3 months agoAdd a scope parameter to AuditConfig
Alice Boxhall [Mon, 11 Feb 2013 20:15:45 +0000 (15:15 -0500)]
Add a scope parameter to AuditConfig

3 months agoAdd opt_url to Audit.createReport to allow a custom details url
Alice Boxhall [Tue, 12 Feb 2013 16:18:31 +0000 (11:18 -0500)]
Add opt_url to Audit.createReport to allow a custom details url

3 months agoCheck audit result == FAIL before creating result message
Alice Boxhall [Tue, 12 Feb 2013 15:55:48 +0000 (10:55 -0500)]
Check audit result == FAIL before creating result message

3 months agoAdd createReport and accessibilityErrorMessage methods to axs.Audit
Alice Boxhall [Thu, 31 Jan 2013 01:41:05 +0000 (17:41 -0800)]
Add createReport and accessibilityErrorMessage methods to axs.Audit

3 months agoRemove unnecessary entries from externs.js
Alice Boxhall [Tue, 29 Jan 2013 18:02:58 +0000 (10:02 -0800)]
Remove unnecessary entries from externs.js

3 months agoStrip back to just the code which is unrelated to the extension
Alice Boxhall [Tue, 29 Jan 2013 00:04:12 +0000 (16:04 -0800)]
Strip back to just the code which is unrelated to the extension

4 months agoFix compilation errors
Alice Boxhall [Tue, 8 Jan 2013 18:12:57 +0000 (10:12 -0800)]
Fix compilation errors

4 months agoFix bug in AuditConfiguration where rules_ and withConsoleApi were declared on the...
Alice Boxhall [Fri, 4 Jan 2013 17:38:54 +0000 (09:38 -0800)]
Fix bug in AuditConfiguration where rules_ and withConsoleApi were declared on the prototype rather than constructor.

5 months agoAdd optional ignoreSelectors parameter to AuditRule.run(), and add an AuditConfigurat...
Alice Boxhall [Fri, 21 Dec 2012 19:22:39 +0000 (11:22 -0800)]
Add optional ignoreSelectors parameter to AuditRule.run(), and add an AuditConfiguration class to hold configuration for an Audit.

5 months agoFix incorrect return value in requiredAriaAttributeMissing
Alice Boxhall [Thu, 20 Dec 2012 21:45:16 +0000 (13:45 -0800)]
Fix incorrect return value in requiredAriaAttributeMissing

5 months agoAdd Audit.js
Alice Boxhall [Mon, 17 Dec 2012 19:17:03 +0000 (11:17 -0800)]
Add Audit.js

5 months agoSlight refactoring, bugfix for invalid role during requiredAriaAttributeMissing audit
Alice Boxhall [Fri, 14 Dec 2012 02:04:57 +0000 (18:04 -0800)]
Slight refactoring, bugfix for invalid role during requiredAriaAttributeMissing audit

5 months agoModify order of script injection in background.js
Alice Boxhall [Tue, 11 Dec 2012 22:08:16 +0000 (14:08 -0800)]
Modify order of script injection in background.js

5 months agoAdd axs.utils.getQuerySelectorText and regenerate axs_testing.js
Alice Boxhall [Fri, 7 Dec 2012 21:39:33 +0000 (13:39 -0800)]
Add axs.utils.getQuerySelectorText and regenerate axs_testing.js

6 months agoChange shouldRunInDevtools to requiresConsoleAPI everywhere, and don't exclude requir...
Alice Boxhall [Wed, 21 Nov 2012 19:02:36 +0000 (11:02 -0800)]
Change shouldRunInDevtools to requiresConsoleAPI everywhere, and don't exclude requiresConsoleAPI audits from AuditRules

6 months agoAdd src/extension directory, containing extension-specific implementations of Propert...
Alice Boxhall [Mon, 19 Nov 2012 18:44:41 +0000 (10:44 -0800)]
Add src/extension directory, containing extension-specific implementations of Properties.js, AuditRule.js and AuditRules.js

6 months agoAdd gen/axs_testing.js
Alice Boxhall [Thu, 15 Nov 2012 22:50:50 +0000 (14:50 -0800)]
Add gen/axs_testing.js

6 months agoFix errors in Makefile
Alice Boxhall [Thu, 15 Nov 2012 20:16:06 +0000 (12:16 -0800)]
Fix errors in Makefile

6 months agoRefactor to pull extension-specific code out of the testing/property related code...
Alice Boxhall [Thu, 15 Nov 2012 20:10:57 +0000 (12:10 -0800)]
Refactor to pull extension-specific code out of the testing/property related code, and add a generated platform-independent 'library' version of code which may be used in testing

7 months agoPull JS source out into modules for building; update tests to work with closure.
Alice Boxhall [Fri, 17 Aug 2012 00:31:04 +0000 (10:31 +1000)]
Pull JS source out into modules for building; update tests to work with closure.

7 months agoAdd messages for requiredAriaAttributeMissing; one more style tweak for ARIA properties.
Alice Boxhall [Mon, 13 Aug 2012 01:43:11 +0000 (11:43 +1000)]
Add messages for requiredAriaAttributeMissing; one more style tweak for ARIA properties.

7 months agoStyle tweaks for aria-labelledby values.
Alice Boxhall [Mon, 13 Aug 2012 01:17:43 +0000 (11:17 +1000)]
Style tweaks for aria-labelledby values.

7 months agoAdd BadAriaAttributeValue.js and RequiredAriaAttributeMissing.js stub
Alice Boxhall [Mon, 13 Aug 2012 00:10:53 +0000 (10:10 +1000)]
Add BadAriaAttributeValue.js and RequiredAriaAttributeMissing.js stub

7 months agoadd ariaProperty.html
Alice Boxhall [Sat, 11 Aug 2012 00:53:37 +0000 (10:53 +1000)]
add ariaProperty.html

7 months agoMore work
Alice Boxhall [Fri, 10 Aug 2012 23:08:00 +0000 (09:08 +1000)]
More work

7 months agoFormat IDREF values with a link to the referred element, if it exists.
Alice Boxhall [Tue, 31 Jul 2012 05:20:39 +0000 (15:20 +1000)]
Format IDREF values with a link to the referred element, if it exists.

7 months agocode dump: pull down latest version of templates, work on getting recursive value...
Alice Boxhall [Mon, 30 Jul 2012 09:38:46 +0000 (19:38 +1000)]
code dump: pull down latest version of templates, work on getting recursive value from aria widgets, adding messages for aria roles and values

7 months agoMake 'FocusableElementNotVisibleAndNotAriaHidden' audit re-use axs.utils.elementIsVis...
Alice Boxhall [Thu, 26 Jul 2012 00:32:53 +0000 (10:32 +1000)]
Make 'FocusableElementNotVisibleAndNotAriaHidden' audit re-use axs.utils.elementIsVisible() logic rather than reimplementing it, and have axs.utils.elementIsOutsideScrollArea() check for elements which are outside but flush with the borders of the scroll area.

7 months agoContinued work on computed text.
Alice Boxhall [Wed, 18 Jul 2012 20:17:02 +0000 (13:17 -0700)]
Continued work on computed text.

7 months agoWIP for more sophisticated computed text value
Alice Boxhall [Fri, 13 Jul 2012 08:53:38 +0000 (18:53 +1000)]
WIP for more sophisticated computed text value

7 months agoFix trailing comma and spurious computed text bugs
Alice Boxhall [Fri, 13 Jul 2012 00:59:47 +0000 (10:59 +1000)]
Fix trailing comma and spurious computed text bugs

7 months agoFirst pass at computed text
Alice Boxhall [Wed, 11 Jul 2012 07:47:59 +0000 (17:47 +1000)]
First pass at computed text

7 months agorearrange label properties by precedence order; wip adding spoken text
Alice Boxhall [Wed, 11 Jul 2012 00:32:46 +0000 (10:32 +1000)]
rearrange label properties by precedence order; wip adding spoken text

7 months agoAdd Handlebar templates as a submodule
Alice Boxhall [Sun, 8 Jul 2012 23:41:52 +0000 (09:41 +1000)]
Add Handlebar templates as a submodule

7 months agorm lib/templates
Alice Boxhall [Sat, 7 Jul 2012 01:29:30 +0000 (11:29 +1000)]
rm lib/templates

9 months agoTweak ImageWithoutAltText audit to ignore hidden images, and modify elementIsOutsideS...
Alice Boxhall [Tue, 31 Jul 2012 00:30:11 +0000 (10:30 +1000)]
Tweak ImageWithoutAltText audit to ignore hidden images, and modify elementIsOutsideScrollArea() function to detect elements which are flush with (but not inside) the sscroll area.

9 months agoIncrement sub-version
Alice Boxhall [Wed, 25 Jul 2012 01:11:43 +0000 (11:11 +1000)]
Increment sub-version

9 months agoFix bug in color parsing for rgba colors, and remove some logging cruft in Properties.js.
Alice Boxhall [Wed, 25 Jul 2012 00:55:17 +0000 (10:55 +1000)]
Fix bug in color parsing for rgba colors, and remove some logging cruft in Properties.js.

10 months agoRewrite sidebar.html using templates, and add extra information in the sidebar for...
Alice Boxhall [Tue, 10 Jul 2012 03:37:39 +0000 (13:37 +1000)]
Rewrite sidebar.html using templates, and add extra information in the sidebar for ARIA properties

10 months agofix bugs in content script re-injection logic
Alice Boxhall [Wed, 4 Jul 2012 06:56:28 +0000 (16:56 +1000)]
fix bugs in content script re-injection logic

10 months agoadd externs.js
Alice Boxhall [Wed, 4 Jul 2012 06:01:52 +0000 (16:01 +1000)]
add externs.js

10 months agore-inject content script on reload
Alice Boxhall [Wed, 4 Jul 2012 05:29:33 +0000 (15:29 +1000)]
re-inject content script on reload

10 months agoRestructure code and build to use closure-compiler
Alice Boxhall [Wed, 4 Jul 2012 04:18:23 +0000 (14:18 +1000)]
Restructure code and build to use closure-compiler

10 months agoFinish i18n for sidebar
Alice Boxhall [Fri, 29 Jun 2012 04:48:03 +0000 (14:48 +1000)]
Finish i18n for sidebar

10 months agoSet version number to 1.0
Alice Boxhall [Thu, 28 Jun 2012 02:06:58 +0000 (12:06 +1000)]
Set version number to 1.0

10 months agoAdd messages.json; don't check for url on AuditRule object
Alice Boxhall [Tue, 26 Jun 2012 12:35:00 +0000 (22:35 +1000)]
Add messages.json; don't check for url on AuditRule object

10 months agoPull audit and extension strings out into i18n framework
Alice Boxhall [Tue, 26 Jun 2012 11:54:42 +0000 (21:54 +1000)]
Pull audit and extension strings out into i18n framework

10 months agomerge changes from codesite
Alice Boxhall [Tue, 26 Jun 2012 01:05:01 +0000 (11:05 +1000)]
merge changes from codesite

10 months agoIgnore <body> elements in unfocusableElementsWithOnClick, and fix isAncestor check...
Alice Boxhall [Mon, 25 Jun 2012 23:43:41 +0000 (09:43 +1000)]
Ignore <body> elements in unfocusableElementsWithOnClick, and fix isAncestor check in overlappingElement()

10 months agoFix bugs in FocusableElementNotVisibleAndNotAriaHidden
Alice Boxhall [Mon, 25 Jun 2012 00:25:18 +0000 (10:25 +1000)]
Fix bugs in FocusableElementNotVisibleAndNotAriaHidden

10 months agoFix un-closed string on ControlsWithoutLabels
Alice Boxhall [Mon, 25 Jun 2012 00:16:37 +0000 (10:16 +1000)]
Fix un-closed string on ControlsWithoutLabels

11 months agoUpdate URLs in audit results, and re-generate generated_dependencies.js
Alice Boxhall [Fri, 22 Jun 2012 04:54:52 +0000 (21:54 -0700)]
Update URLs in audit results, and re-generate generated_dependencies.js

11 months agoInitial commit.
Alice Boxhall [Fri, 22 Jun 2012 04:39:22 +0000 (21:39 -0700)]
Initial commit.

11 months agoFold video label test on to control label test; add Preamble.fragment and Postscript...
Alice Boxhall [Fri, 22 Jun 2012 03:09:51 +0000 (20:09 -0700)]
Fold video label test on to control label test; add Preamble.fragment and Postscript.fragment which were left off an earlier change

11 months agoMake inherently focusable elements relevant for unfocusableElementsWithOnClick
Alice Boxhall [Thu, 21 Jun 2012 22:07:10 +0000 (15:07 -0700)]
Make inherently focusable elements relevant for unfocusableElementsWithOnClick

11 months agoensure convertElementToResult() and getResultElement() are always available from...
Alice Boxhall [Thu, 21 Jun 2012 22:06:28 +0000 (15:06 -0700)]
ensure convertElementToResult() and getResultElement() are always available from the content script context

11 months agoRemove leftover log statment from controlsWithoutLabels audit
Alice Boxhall [Thu, 21 Jun 2012 21:55:34 +0000 (14:55 -0700)]
Remove leftover log statment from controlsWithoutLabels audit

11 months agoPut everything in the generated_accessibility.js script inside a function which early...
Alice Boxhall [Thu, 21 Jun 2012 21:53:00 +0000 (14:53 -0700)]
Put everything in the generated_accessibility.js script inside a function which early-exists if the content script has already been injected. This will fix the problem where the extension stops working if devtools is closed and re-opened.

11 months agoMerge branch 'master' of https://code.google.com/a/google.com/p/accessibility-develop...
Rachel Shearer [Thu, 21 Jun 2012 00:28:57 +0000 (17:28 -0700)]
Merge branch 'master' of https://code.google.com/a/google.com/p/accessibility-developer-tools

11 months agoBetter regex that handles linux subpixel height
Rachel Shearer [Thu, 21 Jun 2012 00:21:28 +0000 (17:21 -0700)]
Better regex that handles linux subpixel height

11 months agoMove audit rule related strings on to the AuditRule spec, add a 'code' for each audit...
Alice Boxhall [Wed, 20 Jun 2012 23:04:08 +0000 (16:04 -0700)]
Move audit rule related strings on to the AuditRule spec, add a 'code' for each audit rule, link each audit rule to its wiki page, and remove the verbose audit descriptions

11 months agoShorten descriptions for lowContrastElements and nonExistentAriaLabelledbyElement
Alice Boxhall [Wed, 20 Jun 2012 18:48:16 +0000 (11:48 -0700)]
Shorten descriptions for lowContrastElements and nonExistentAriaLabelledbyElement

11 months agoInclude severity in audit result text
Alice Boxhall [Wed, 20 Jun 2012 18:45:50 +0000 (11:45 -0700)]
Include severity in audit result text

11 months agohandle implicitly focusable elements, correctly check tabindex and pass in relevant...
Alice Boxhall [Tue, 19 Jun 2012 21:54:21 +0000 (14:54 -0700)]
handle implicitly focusable elements, correctly check tabindex and pass in relevant AccessibilityUtils methods to unfocusableElementsWithOnclick

11 months agoButton with inner text does not need a label
Dominic Mazzoni [Tue, 19 Jun 2012 00:17:42 +0000 (17:17 -0700)]
Button with inner text does not need a label

11 months agoAdd test, change audit to check every focusable element.
Dominic Mazzoni [Mon, 18 Jun 2012 23:00:17 +0000 (16:00 -0700)]
Add test, change audit to check every focusable element.

11 months agoAdd fix for aria-hidden test and opacity and inherited aria-hidden, no test yet
Dominic Mazzoni [Mon, 18 Jun 2012 22:00:32 +0000 (15:00 -0700)]
Add fix for aria-hidden test and opacity and inherited aria-hidden, no test yet

11 months agoCheck all elements, not just [span, div, img], for unfocusableElementsWithOnClick
Alice Boxhall [Mon, 18 Jun 2012 22:40:15 +0000 (15:40 -0700)]
Check all elements, not just [span, div, img], for unfocusableElementsWithOnClick

11 months agoCheck for element is hidden and fix typo causing tabIndex to be read incorrectly...
Alice Boxhall [Mon, 18 Jun 2012 22:15:38 +0000 (15:15 -0700)]
Check for element is hidden and fix typo causing tabIndex to be read incorrectly in unfocusableElementsWithOnClick

11 months agohandle multiple string values for aria-labelledby
Alice Boxhall [Mon, 18 Jun 2012 21:36:35 +0000 (14:36 -0700)]
handle multiple string values for aria-labelledby

11 months agoFix placeholder and other control label issues
Dominic Mazzoni [Mon, 18 Jun 2012 21:39:11 +0000 (14:39 -0700)]
Fix placeholder and other control label issues

11 months agoFix miscalculating contrast ratio for elements with background-image, and not calcula...
Alice Boxhall [Mon, 18 Jun 2012 01:25:22 +0000 (18:25 -0700)]
Fix miscalculating contrast ratio for elements with background-image, and not calculating contrast ratio for elements with overlapping elements with alpha == 0.

11 months agolist JS_FILES explicitly
Alice Boxhall [Fri, 15 Jun 2012 18:23:21 +0000 (11:23 -0700)]
list JS_FILES explicitly

11 months agoRecognise automatic labels on submit/reset buttons, with test
Alice Boxhall [Thu, 14 Jun 2012 18:54:22 +0000 (11:54 -0700)]
Recognise automatic labels on submit/reset buttons, with test

11 months agoMake test directory structure mirror src directory structure
Alice Boxhall [Thu, 14 Jun 2012 18:05:06 +0000 (11:05 -0700)]
Make test directory structure mirror src directory structure

11 months agoMake test directory structure mirror src directory structure
Alice Boxhall [Thu, 14 Jun 2012 18:03:17 +0000 (11:03 -0700)]
Make test directory structure mirror src directory structure

11 months agoFix badAriaRole test for new AuditRules structure
Alice Boxhall [Thu, 14 Jun 2012 17:56:50 +0000 (10:56 -0700)]
Fix badAriaRole test for new AuditRules structure

11 months agoRemove commented-out line.
aboxhall [Thu, 14 Jun 2012 16:51:31 +0000 (16:51 +0000)]
Remove commented-out line.

11 months agorewrite audit rules in terms of addRule(), including unfocusableElementsWithOnclick
Alice Boxhall [Thu, 14 Jun 2012 16:16:40 +0000 (09:16 -0700)]
rewrite audit rules in terms of addRule(), including unfocusableElementsWithOnclick

11 months agoFix bug where audit wouldn't show up after closing and re-opening devtools.
Alice Boxhall [Sun, 10 Jun 2012 20:31:06 +0000 (22:31 +0200)]
Fix bug where audit wouldn't show up after closing and re-opening devtools.

11 months agoTests + Scope injection for audits.
Mike West [Fri, 8 Jun 2012 14:18:19 +0000 (16:18 +0200)]
Tests + Scope injection for audits.

11 months agoRefactoring directories for testing.
Mike West [Fri, 8 Jun 2012 13:46:02 +0000 (15:46 +0200)]
Refactoring directories for testing.

11 months agoRename _generated_accessibility.js to generated_accessibility.js
Alice Boxhall [Fri, 8 Jun 2012 14:20:00 +0000 (16:20 +0200)]
Rename _generated_accessibility.js to generated_accessibility.js

11 months agoSplitting accessibility.js into multiple files.
Mike West [Fri, 8 Jun 2012 11:00:17 +0000 (13:00 +0200)]
Splitting accessibility.js into multiple files.

This CL introduces a Makefile to build `_generated_accessibility.js`,
which pulls files from the `js` and `audits` subdirectories. This should
make it simpler to add new audits, and (eventually) to test single
components.

11 months agoPull common audit rule code out into AuditRule object, rewrite existing audit rules...
Alice Boxhall [Fri, 8 Jun 2012 12:16:01 +0000 (14:16 +0200)]
Pull common audit rule code out into AuditRule object, rewrite existing audit rules in terms of AuditRule object

11 months agoInitial commit.
Mike West [Fri, 8 Jun 2012 08:24:21 +0000 (10:24 +0200)]
Initial commit.