зеркало из https://github.com/mozilla/pjs.git
Small correction in output.
This commit is contained in:
Родитель
78a61cf35e
Коммит
f8a0646a18
|
@ -86,6 +86,7 @@ function constructResults()
|
|||
{
|
||||
varaccFocused = "Not Focused";
|
||||
}
|
||||
alert(accNode.accKeyboardShortcut);
|
||||
|
||||
var name = getName();
|
||||
var role = getRole();
|
||||
|
@ -157,7 +158,7 @@ if(readCookie(cookieName) == null)
|
|||
<!-- Test Button -->
|
||||
document.write('<br>');
|
||||
document.write('<b>Testing HTML Button for Accessibility..</b><br><br>');
|
||||
document.write('<button value="submit"> Submit </button>');
|
||||
document.write('<button accesskey="b" value="submit"> Submit </button>');
|
||||
|
||||
setTimeout("executeTestCase();", 2000);
|
||||
}
|
||||
|
|
|
@ -152,12 +152,12 @@ function constructResults()
|
|||
nodeFocus = "Not Focused";
|
||||
nodeCheck = "Check Box Not Checked";
|
||||
cookieName = "nsIAccessibleTestCheckBoxNode";
|
||||
var res = "<b><u> Results for HTML Check Box Checked Node:</u></b><br><br>";
|
||||
var res = "<b><u> Results for HTML Check Box Unchecked Node:</u></b><br><br>";
|
||||
|
||||
if(readCookie(cookieName) == null)
|
||||
{
|
||||
<!-- Test Form -->
|
||||
document.write('<br><br><b> Testing Check Box Checked for Accessibility </b><br><br>');
|
||||
document.write('<br><br><b> Testing Check Box Unchecked for Accessibility </b><br><br>');
|
||||
document.write('<form>');
|
||||
|
||||
document.write('Is your age: <br>');
|
||||
|
|
|
@ -152,12 +152,12 @@ function constructResults()
|
|||
nodeFocus = "Not Focused";
|
||||
nodeClick = "Radio Button Unchecked";
|
||||
cookieName = "nsIAccessibleTestRadioButtonNode";
|
||||
var res = "<b><u> Results for HTML Radio Button Checked Node:</u></b><br><br>";
|
||||
var res = "<b><u> Results for HTML Radio Button Unchecked Node:</u></b><br><br>";
|
||||
|
||||
if(readCookie(cookieName) == null)
|
||||
{
|
||||
<!-- Test Form -->
|
||||
document.write('<br><br><b> Testing Radio Button Checked </b><br><br>');
|
||||
document.write('<br><br><b> Testing Radio Button Unchecked </b><br><br>');
|
||||
document.write('<form>');
|
||||
document.write(' Which is your favorite food');
|
||||
document.write(' <input type="radio" name="favorite" value="mexican"> Mexican');
|
||||
|
|
Загрузка…
Ссылка в новой задаче