зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1726695: Add support for RemoteAccessible's in MsaaAccessible::get_accName r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D123258
This commit is contained in:
Родитель
981556959c
Коммит
c55f522302
|
@ -966,12 +966,9 @@ MsaaAccessible::get_accName(
|
||||||
if (accessible) {
|
if (accessible) {
|
||||||
return accessible->get_accName(kVarChildIdSelf, pszName);
|
return accessible->get_accName(kVarChildIdSelf, pszName);
|
||||||
}
|
}
|
||||||
if (mAcc->IsRemote()) {
|
|
||||||
return E_NOTIMPL; // XXX Not supported for RemoteAccessible yet.
|
|
||||||
}
|
|
||||||
|
|
||||||
nsAutoString name;
|
nsAutoString name;
|
||||||
LocalAcc()->Name(name);
|
Acc()->Name(name);
|
||||||
|
|
||||||
// The name was not provided, e.g. no alt attribute for an image. A screen
|
// The name was not provided, e.g. no alt attribute for an image. A screen
|
||||||
// reader may choose to invent its own accessible name, e.g. from an image src
|
// reader may choose to invent its own accessible name, e.g. from an image src
|
||||||
|
|
Загрузка…
Ссылка в новой задаче