Picker: Narrator not reading "noResultsFoundText"
@pandey11 thank you for reporting the issue. In order to reproduce the problem could you provide a code sample on https://codepen.io/ ? Thank you!
try this
const onFilterChanged = (input?: string): ITag[] | [] => {
return [];
};
<TagPicker
onResolveSuggestions={onFilterChanged}
pickerSuggestionsProps={{ noResultsFoundText: "noResultsFoundText"}}
/>
narrator should read noResultsFoundText if onResolveSuggestions return empty list
Thank you, @pandey11. We are investigating.
@pandey11 after investigating this issue, it looks like the Picker is correctly implemented. Picker sets the role="alert" attribute on the popup which should result in Narrator reading the text. However it looks like there is currently an Edge bug that is causing the text to not be read aloud. See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/21900325/ When that bug is fixed this should work. Let us know if you need any additional information.
verified. I'm not able to repro in chrome. Thanks
Since we have verified that this is an Edge bug, we'll close this issue, but if you are experiencing any other problems, feel free to open another issue.