зеркало из https://github.com/mozilla/pjs.git
Bug 559746 - add a11y mochitests for <input type='tel'>, r=surkov
This commit is contained in:
Родитель
f188a066fb
Коммит
798c417189
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче