We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f394903 commit 1200e25Copy full SHA for 1200e25
lib/java/com/google/android/material/datepicker/MaterialDatePicker.java
@@ -305,7 +305,8 @@ public void onClick(View v) {
305
public void onInitializeAccessibilityNodeInfo(
306
@NonNull View host, @NonNull AccessibilityNodeInfoCompat info) {
307
super.onInitializeAccessibilityNodeInfo(host, info);
308
- info.setContentDescription(getDateSelector().getError());
+ String contentDescription = getDateSelector().getError() + ", " + info.getText();
309
+ info.setContentDescription(contentDescription);
310
}
311
});
312
0 commit comments