mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update GetAccessibleName() in view::ImageView and view::Button
https://chromium-review.googlesource.com/c/chromium/src/+/1256308
This commit is contained in:
committed by
Jeremy Apthorp
parent
90b6d13714
commit
ed5a865efb
@@ -71,7 +71,7 @@ void SubmenuButton::SetUnderlineColor(SkColor color) {
|
||||
}
|
||||
|
||||
void SubmenuButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
||||
node_data->SetName(accessible_name());
|
||||
node_data->SetName(GetAccessibleName());
|
||||
node_data->role = ax::mojom::Role::kPopUpButton;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user