Skip to content

Commit

Permalink
Merge pull request #1049 from IBMa/joho-tabstops-HardLaunch-Final
Browse files Browse the repository at this point in the history
New Keyboard Visualization Feature for Checker
  • Loading branch information
ErickRenteria authored Aug 23, 2022
2 parents 910c787 + 3a0fd95 commit de54297
Show file tree
Hide file tree
Showing 67 changed files with 4,811 additions and 2,652 deletions.
6 changes: 6 additions & 0 deletions accessibility-checker-engine/src/genHelp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ const valueMap = {
"Fail": "Recommendation",
"Pass": "Pass",
"Manual": "Recommendation"
},
"INFORMATION": {
"POTENTIAL": "Needs review",
"FAIL": "Violation",
"PASS": "Pass",
"MANUAL": "Recommendation"
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export let element_tabbable_visible: Rule = {

let top = bounds['top'];
let left = bounds['left'];

if (Object.keys(onfocus_styles).length === 0 ) {
// no onfocus position change, but could be changed from js
return RulePotential("potential_visible", []);
Expand All @@ -91,7 +92,7 @@ export let element_tabbable_visible: Rule = {
}
}

if (top > 0 && left > 0)
if (top >= 0 && left >= 0)
return RulePass("pass");
else
return RulePotential("potential_visible", []);
Expand Down
6 changes: 6 additions & 0 deletions accessibility-checker-extension/manifest_Chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,11 @@
"page": "options.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["draw.js"]
}
],
"incognito": "split"
}
6 changes: 6 additions & 0 deletions accessibility-checker-extension/manifest_Firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
],
"persistent": true
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["draw.js"]
}
],
"options_ui": {
"page": "options.html",
"open_in_tab": true
Expand Down
11 changes: 11 additions & 0 deletions accessibility-checker-extension/package-lock.json

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

1 change: 1 addition & 0 deletions accessibility-checker-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"react-tooltip": "^4.2.21",
"redux": "^4.1.2",
"string-hash": "^1.1.3",
"tabbable": "^5.2.0",
"webext-redux": "^2.1.9"
},
"devDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/element.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/enter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/esc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified accessibility-checker-extension/src/assets/img/5_Options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/img/keyboard-issue.svg
25 changes: 25 additions & 0 deletions accessibility-checker-extension/src/assets/keyboard disabled.svg
20 changes: 20 additions & 0 deletions accessibility-checker-extension/src/assets/keyboard.svg
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/keyboard_issue.svg
25 changes: 25 additions & 0 deletions accessibility-checker-extension/src/assets/keyboard_white.svg
20 changes: 20 additions & 0 deletions accessibility-checker-extension/src/assets/left_right.svg
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/shift.svg
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/space.svg
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/tab.svg
14 changes: 14 additions & 0 deletions accessibility-checker-extension/src/assets/tab_stop.svg
Loading

0 comments on commit de54297

Please sign in to comment.