Bug 1001628 - listbox option role string is now less verbose. r=eeejay

---
 accessible/tests/mochitest/jsat/test_output.html           | 12 ++++++++++--
 dom/locales/en-US/chrome/accessibility/AccessFu.properties |  2 +-
 2 files changed, 11 insertions(+), 3 deletions(-)
This commit is contained in:
Yura Zenevich 2014-04-30 11:27:13 -04:00
Родитель 0ec9d2f2c4
Коммит 394e368be8
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -339,8 +339,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
["I am pressed!", "pressed toggle button"]],
expectedBraille: [["(x)", "I am pressed!"],
["I am pressed!", "(x)"]]
}
];
}, {
accOrElmOrID: "listbox-option",
expectedUtterance: [["list box", "option", "Search suggestion"],
["Search suggestion", "option", "list box"]],
expectedBraille: [["option", "Search suggestion"],
["Search suggestion", "option"]]
}];
// Test all possible utterance order preference values.
tests.forEach(function run(test) {
@ -454,6 +459,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
<label>Points: <input id="range" type="range" name="points" min="1" max="10" value="3"></label>
<div id="togglebutton_notpressed" aria-pressed="false" role="button" tabindex="-1">I ain't pressed</div>
<div id="togglebutton_pressed" aria-pressed="true" role="button" tabindex="-1">I am pressed!</div>
<ul role="listbox" style="list-style-type: none;">
<li role="option" id="listbox-option">Search suggestion</li>
</ul>
</div>
</body>
</html>

Просмотреть файл

@ -64,7 +64,7 @@ form = form
comboboxlist = combo box list
comboboxoption = combo box option
imagemap = image map
listboxoption = list box option
listboxoption = option
listbox = list box
flatequation = flat equation
gridcell = gridcell