mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Bug 559746 - add a11y mochitests for <input type='tel'>, r=surkov
This commit is contained in:
parent
eee82ad1b0
commit
a0d2197948
@ -107,6 +107,7 @@
|
||||
testStates("autocomplete-formoff", 0, 0, 0, EXT_STATE_SUPPORTS_AUTOCOMPLETION);
|
||||
testStates("autocomplete-list", 0, EXT_STATE_SUPPORTS_AUTOCOMPLETION);
|
||||
testStates("autocomplete-list2", 0, EXT_STATE_SUPPORTS_AUTOCOMPLETION);
|
||||
testStates("autocomplete-tel", 0, EXT_STATE_SUPPORTS_AUTOCOMPLETION);
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
@ -230,6 +231,7 @@
|
||||
</datalist>
|
||||
<input id="autocomplete-list" list="cities">
|
||||
<input id="autocomplete-list2" list="cities" autocomplete="off">
|
||||
<input id="autocomplete-tel" type="tel">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -76,6 +76,19 @@
|
||||
};
|
||||
|
||||
testAccessibleTree("txc5", accTree);
|
||||
|
||||
// input@type="tel", value
|
||||
accTree = {
|
||||
role: ROLE_ENTRY,
|
||||
children: [
|
||||
{ // text child
|
||||
role: ROLE_TEXT_LEAF,
|
||||
children: []
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
testAccessibleTree("txc6", accTree);
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
@ -117,6 +130,7 @@
|
||||
hello2
|
||||
</textarea>
|
||||
<input id="txc5" type="password" value="hello">
|
||||
<input id="txc6" type="tel" value="4167771234">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user