reland always adds alert label for alert dialog in Android (#66057)
This commit is contained in:
@@ -613,8 +613,8 @@ void main() {
|
||||
isEnabled: true,
|
||||
isFocusable: true,
|
||||
actions: <AndroidSemanticsAction>[
|
||||
if (item == 'Body1') AndroidSemanticsAction.clearAccessibilityFocus,
|
||||
if (item != 'Body1') AndroidSemanticsAction.accessibilityFocus,
|
||||
if (item == 'Title') AndroidSemanticsAction.clearAccessibilityFocus,
|
||||
if (item != 'Title') AndroidSemanticsAction.accessibilityFocus,
|
||||
],
|
||||
),
|
||||
reason: "Alert $item button doesn't have the right semantics");
|
||||
|
||||
Reference in New Issue
Block a user