mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 932158 - ensuring that the type information is not included into the output for an input of type 'text'. r=eeejay
--- accessible/src/jsat/OutputGenerator.jsm | 3 ++- accessible/tests/mochitest/jsat/test_utterance_order.html | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)
This commit is contained in:
parent
dbd6cf47e7
commit
9e4e707512
@ -216,7 +216,8 @@ this.OutputGenerator = {
|
||||
}
|
||||
|
||||
let typeName = Utils.getAttributes(aAccessible)['text-input-type'];
|
||||
if (!typeName) {
|
||||
// Ignore the the input type="text" case.
|
||||
if (!typeName || typeName === 'text') {
|
||||
return;
|
||||
}
|
||||
aDesc.push(gStringBundle.GetStringFromName('textInputType_' + typeName));
|
||||
|
@ -106,6 +106,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
|
||||
["URL entry", "http://example.com"],
|
||||
["http://example.com", "URL entry"]
|
||||
]
|
||||
}, {
|
||||
accOrElmOrID: "textInput",
|
||||
expected: [["entry", "This is text."], ["This is text.", "entry"]]
|
||||
}, {
|
||||
// Test pivot to list from li_one.
|
||||
accOrElmOrID: "list",
|
||||
@ -303,6 +306,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
|
||||
<input id="search" type="search" value="This is a search" />
|
||||
<input id="tel" type="tel" value="555-5555" />
|
||||
<input id="url" type="url" value="http://example.com" />
|
||||
<input id="textInput" type="text" value="This is text." />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user