This repository has been archived by the owner on Aug 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from nfreear/master
Return a hash of success/warning/error messages to aid debugging, and modify accessifyhtml5.js in parallel with JSON Schema,
- Loading branch information
Showing
4 changed files
with
59 additions
and
12 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
<script> | ||
q.onload(function () { | ||
|
||
AccessifyHTML5(false, { | ||
q.res = AccessifyHTML5(false, { | ||
'#ou-org-header': { | ||
role: 'banner', | ||
'aria-label': 'Site logo', | ||
|
@@ -44,6 +44,7 @@ | |
"aria-describedby": "#ou-org-footer p" | ||
}, | ||
|
||
// HTML5 form tests. | ||
"input#fmtest": { | ||
"type": "email", | ||
"placeholder": "[email protected]", | ||
|
@@ -52,6 +53,9 @@ | |
"style": "cursor:help" | ||
}, | ||
|
||
// Error tests. | ||
"body:first": {}, | ||
|
||
// Security tests. | ||
"body": { | ||
"onload": "alert('Woops!')", | ||
|
@@ -63,6 +67,7 @@ | |
} | ||
}); | ||
|
||
q.log(q.res); | ||
}); | ||
</script> | ||
|
||
|